AutoHotkey Community

It is currently May 27th, 2012, 2:36 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: List extensions Firefox
PostPosted: August 21st, 2004, 1:38 am 
Offline

Joined: April 28th, 2004, 1:12 pm
Posts: 349
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%


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 2nd, 2008, 8:32 pm 
Cool!! Thanks!
Image


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: February 2nd, 2008, 11:24 pm 
Offline

Joined: April 28th, 2004, 1:12 pm
Posts: 349
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 6th, 2009, 1:52 pm 
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.


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 8 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group