Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

List extensions Firefox


  • Please log in to reply
3 replies to this topic
Jon
  • Members
  • 349 posts
  • Last active: Aug 30 2011 08:35 PM
  • Joined: 28 Apr 2004
The following code will list all installed firefox extensions (post 0.9) in alphabetical order in a text file along with it's version number and the total number of extensions installed.

;
; AutoHotkey Version: 1.x
; Language:       English
; Platform:       Win9x/NT

;
; Script Function:
;	List all installed Firefox Extensions (post v0.9)
;


Loop, %AppData%\Mozilla\Firefox\Profiles\install.rdf, , 1  ; Recurse into subfolders.
{
extno++

Loop, read, %A_LoopFileFullPath%
{




IfInString, A_LoopReadLine, <em:version>
{
StringReplace, version, A_LoopReadLine,<em:version>, , all
StringReplace, version, version,</em:version>, , all 
AutoTrim, On

version=%version%

}

IfInString, A_LoopReadLine, <em:name>
{
StringReplace, newname, A_LoopReadLine,<em:name>, , all
StringReplace, newname, newname,</em:name>, , all 
AutoTrim, On
}


}

name=%newname%%a_space%%a_space%%a_space%%version%

extname=%extname%,%name%

}

;Calculate number of extensions

extno=0

Loop, parse, extname, `,
{

if A_LoopField=
{
continue
}
else
{
extno++
}

}


Sort extname, D,

StringReplace, extname, extname, `, , `n , All

FileSelectFile, location, s3, %a_workingdir%\extensions.txt, Please select the location to save the list of installed extensions., Text Documents (*.txt)

ifexist, %location%
{
filedelete, %location%
}

FileAppend, List of all installed extensions (%extno%)%extname%`n, %location%
run, %location%


Lou
  • Guests
  • Last active:
  • Joined: --
Cool!! Thanks!
Posted Image

Jon
  • Members
  • 349 posts
  • Last active: Aug 30 2011 08:35 PM
  • Joined: 28 Apr 2004
This script is obsolete now.

If you need a list of extensions and you have a recent version of Firefox then go to "Tools" > "Addons". In the Addons window go to "Tools" > "My Config" > "View My Config".

That will give you a list of all your extensions as well as giving you the option to save/copy them in HTML, BBCode, or text format.

  • Guests
  • Last active:
  • Joined: --
Old thread but for the record, this advise assumes MrTech Toolkit extension is installed. https://addons.mozil...refox/addon/421


This script is obsolete now.

If you need a list of extensions and you have a recent version of Firefox then go to "Tools" > "Addons". In the Addons window go to "Tools" > "My Config" > "View My Config".

That will give you a list of all your extensions as well as giving you the option to save/copy them in HTML, BBCode, or text format.