Here is the code for Unmark's Firefox extension. Feel free to use it. Below are a few instructions on how to customize it to work with your domain.
This is a slightly adopted fork of unmark's Chrome Extension to work in Firefox.
Using your own host
If you want to simply change the endpoint for this extension it's pretty simple.
manifest.jsonand find the block that looks like:
"permissions": [ "tabs", "contextMenus", "*://unmark.it/" ],
Change the last line to match your site.
js/unmark/base.jsand change line 2 to point to the correct endpoint.
unmark.host = 'https://unmark.it';
Loading your version in Firefox
Now you should be able to load the unpacked extension locally and test. To do that simply follow these instructions:
- Go To
- Click the button that says
Load Add-on temporary ....
- Choose the location of your
Shipping your version
You can publish your version as described on MDN web docs
To create a
.xpi file, follow the instrucions on https://developer.mozilla.org/en-US/Add-ons/Extension_Packaging (for now). You can find an example
install.rdf-file in the project folder.