Turn a Greasemonkey script into a Firefox extension

Mark at the MakeUseOf blog points out that it's become all the rage to convert Greasemonkey user scripts into Firefox extensions - giving our own Gina Trapani's Better Gmail as an example.
The benefit of this is that even non-programmers can take a Greasemonkey script and turn it into a Firefox extension - a format more likely to be used by non-programmers.
Mark runs you through how to use a User Script Compiler to turn a script into an XPI file (Firefox extension) - no coding required:

"First, you need to get the actual Greasemonkey script. Go to your Firefox profile in your Windows Explorer and find the “gm_scripts” sub-folder. This folder contains all the Greasemonkey scripts that you have installed on your Firefox browser and should all be in javascript file format (.js)...

Now right-click on the desired script, choose “rename” and turn the file from javascript to a text file (.txt). Open the text file and you have your code. Then go to the User Script Compiler and enter the required information in the fields provided."

Once you've filled out that screen and hit compile, you're done - just drag it onto your Firefox browser to start the installation. As Mark points out, you can find new user scripts from sites like Userscripts.org.

How to turn Greasemonkey Scripts into Firefox Extensions [Makeuseof.com]


Be the first to comment on this story!

Trending Stories Right Now