October 22, 2024
Chicago 12, Melborne City, USA
javascript

How do I intercept the openDefaultBrowser(url) call in Thunderbird?


Is there some kind of ‘beforeLinkClick’ event which can be canceled, on certain URLs? Or an option to rewrite the openDefaultBrowser(url) function, which I’m guessing gets called, when you click a link?

The end-goal is to develop a ‘Link-Blocker’ for emails opened in Thunderbird.

I already found out that there is a setting under network.protocol-handler.external-default to completely disable links, which is what I want for most links. Other links I want to whitelist via user-prompt.



You need to sign in to view this answers

Leave feedback about this

  • Quality
  • Price
  • Service

PROS

+
Add Field

CONS

+
Add Field
Choose Image
Choose Video