Die Unmark firefox erweiterung, angepasst auf unmark.mowie.cc
Go to file
kolaente 0e635cadef set domain to unmark.mowie.cc 2017-07-31 17:29:50 +02:00
css Restore window size after hiding info message 2014-03-31 12:19:09 +02:00
images few style tweaks, updated icons 2014-03-03 18:50:22 -05:00
js set domain to unmark.mowie.cc 2017-07-31 17:29:50 +02:00
.gitignore Added gitignore file 2014-02-07 10:57:47 -05:00
README.md updated readme 2017-07-31 17:23:49 +02:00
install.rdf updated readme, created install.rdf 2017-07-31 17:23:13 +02:00
manifest.json set domain to unmark.mowie.cc 2017-07-31 17:29:50 +02:00
unmark.html few style tweaks, updated icons 2014-03-03 18:50:22 -05:00

README.md

Hey There

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.

  • Open manifest.json and find the block that looks like:
"permissions": [
    "tabs",
    "contextMenus",
    "*://unmark.it/"
  ],

Change the last line to match your site.

  • Open js/unmark/base.js and change line 2 to point to the correct endpoint.
unmark.host = 'https://unmark.it';
  • Save

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 about:debugging in Firefox.
  • Click the button that says Load Add-on temporary ....
  • Choose the location of your manifest.json.

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.