AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

List extensions Firefox

 
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
Jon



Joined: 28 Apr 2004
Posts: 349

PostPosted: Sat Aug 21, 2004 12:38 am    Post subject: List extensions Firefox Reply with quote

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.

Code:

;
; 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%
Back to top
View user's profile Send private message Send e-mail
Lou
Guest





PostPosted: Sat Feb 02, 2008 7:32 pm    Post subject: Reply with quote

Cool!! Thanks!
Back to top
Jon



Joined: 28 Apr 2004
Posts: 349

PostPosted: Sat Feb 02, 2008 10:24 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Send e-mail
Guest






PostPosted: Fri Nov 06, 2009 12:52 pm    Post subject: Reply with quote

Old thread but for the record, this advise assumes MrTech Toolkit extension is installed. https://addons.mozilla.org/en-US/firefox/addon/421


Jon wrote:
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.
Back to top
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group