Some redirections should be enabled only when the link's URL is a specific URL. E.g. HookTube redirection should be enabled only when the link is a YouTube link.
Add a new input in the options where the user can add a regexp filter.
This can be implemented by a content script now, that listens for contextmenu events and notifies the background script, that disables the redirections that have a link filter that doesn't match the link.
Firefox is about to implement an onBeforeShow event in 57. It would be a more elegant way to implement this, but I don't will Chrome implement it too.
Some redirections should be enabled only when the link's URL is a specific URL. E.g. HookTube redirection should be enabled only when the link is a YouTube link.
Add a new input in the options where the user can add a regexp filter.
This can be implemented by a content script now, that listens for contextmenu events and notifies the background script, that disables the redirections that have a link filter that doesn't match the link. Firefox is about to implement an onBeforeShow event in 57. It would be a more elegant way to implement this, but I don't will Chrome implement it too.