How To Add Greasemonkey To Firefox 4 - gHacks Tech News

How To Add Greasemonkey To Firefox 4

I recently switched from the stable Firefox 3.6x browser to the beta of Firefox 4, mainly because the beta appeared to be relatively stable at this point in development. Naturally, some of the add-ons that I used to work with were not compatible with Firefox 4, either because the developer did not update the add-on yet or because the development has been abandoned and the extension won't receive any new updates.

One of the add-ons that I came to rely on in the past is the Greasemonkey extension which allows you to load userscripts into the browser. Unfortunately it was one of the add-ons that is not working in Firefox 4 Beta.

I first tried to force compatibility on the add-on, with mixed results as it was not working correctly afterwards (take a look at this guide on how to force compatibility in the Firefox web browser)

If you look at the official Greasemonkey site on Mozilla you notice that the add-on is only compatible with versions up to Firefox 3.6, and the same information is offered on the web page of the developer. The last release dates back to April 2010.

What many users do not know is that the developer publishes nightly builds of Greasemonkey on the same server. Nightly builds are development versions of the add-on which often contain additional features or improvements.

In the case of Greasemonkey, they add Firefox 4 compatibility. Just install the latest nightly build from the build list to make Greasemonkey compatible with Firefox 4. Please note though that nightly builds may contain bugs. Firefox will automatically recognize Greasemonkey nightly updates and offer to install them automatically, so that it does not need to be done manually.

All installed userscripts worked fine after installation of the latest Greasemonkey nightly. Let us know your experience in the comments.

Update: Firefox 4 final has been released in the meantime and Greasemonkey too was released in a version compatible with the new version of Firefox.

The information presented here may still be useful to Firefox users if a similar situation happens again in the future. If Greasemonkey becomes incompatible, check out the nightly builds of the browser add-on to see if an update is in the works that will make it compatible again with the latest version of Firefox.

We need your help

Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.

We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats (video ads) or subscription fees.

If you like our content, and would like to help, please consider making a contribution:

Comments

  1. bf said on October 12, 2010 at 8:37 pm
    Reply

    I found beta release of Greasemonkey that works on Firefox 4.0. You can also use Sriptish with Greasemonkey’s scripts.

  2. 9tt.eu said on October 30, 2010 at 3:55 pm
    Reply

    i compiled from trunk the Greasemonkey build compatible with Firefox 4

    http://www.9tt.eu/greasemonkey-0-9-0-for-firefox-4-0-trunk-release-30-10-2010.html

  3. Daghead said on January 2, 2011 at 4:20 am
    Reply

    Thanks! Replaced the old version and kept my scripts; Awesome!

Leave a Reply