Here is our code for Unmark's Chrome extension. Feel free to use it. Below are a few instructions on how to customize it to work with your domain.
Chrome Extensions Tutorial
Not familiar with how to create Chrome extensions? Click here to read the documentation.
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 Chrome
Now you should be able to load the unpacked extension locally and test. To do that simply follow these instructions:
- Go To
- Check the
- Click the button that says
Load unpacked extension....
- Choose the location of your code.
Shipping your version
When you are ready to ship, just choose the
Pack extension... button and follow the instructions.