Create an extension that would intercept a link click


(Mpoznecki) #1

Hi, I need to create an extension for firefox 45 that would allow me to intercept a link click so that I can launch a custom download manager. The only example I can find puts the javascript into the page. (https://github.com/mdn/webextensions-examples/tree/master/notify-link-clicks-i18n)

Can someone help me figure out how to do this?