I need to convert a Greasemonkey script into a restartless Firefox addon.
It used to be possible to do this very easily using the Scriptify extension, but the extension has not been kept up to date with the latest changes to the Firefox browser, and no longer works.
Is there an alternate way to accomplish this?
Installing the Greasemonkey Extension. Click on the Firefox drop-down menu at the top left of the browser and select Add-ons. Type Greasemonkey into the add-ons search box at the top right of the browser. Find Greasemonkey in the list and click on Install.
Greasemonkey is available for Firefox, Flock and GNOME Web (formerly called Epiphany). The Greasemonkey extension for Web is part of the Web extensions package.
Once you're logged in, you can see the section “My Add-ons”. Click on the Submit a New Add-on button at the bottom right. The process to submit a new add-on will then start. You'll first be asked if you'll publish the add-on on Firefox add-ons Manager or you'll distribute it on your own.
It turns out, the developer of the Scriptify extension has updated his extension for compatibility with the newer Firefox browsers. Hooray! :)
UPDATE Now that Firefox has implemented the WebExtensions API for Firefox Extensions, it means its very easy to create restartless Firefox extensions from Greasemonkey scripts, as Firefox extensions built with the "Web Extensions" API are by default restartless, and you can include the gm script as a content script in the Firefox extension.
For an example of how to create a Firefox Extension using the new WebExtensions API, see here: https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Your_first_WebExtension
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With