schomery / popup-blocker

A reliable popup blocker with history
https://webextension.org/listing/popup-blocker.html
Mozilla Public License 2.0
145 stars 35 forks source link

Option to allow target=_blank to open new tab on middle click #88

Open Aaron-P opened 5 years ago

Aaron-P commented 5 years ago

In Firefox when you middle click on a link it opens in a new tab regardless of the target. With the extension enabled if the target is _blank then it will trigger the block behavior even though opening a new tab is the desired result.

raszpl commented 5 years ago

middle click on target="_blank" works in Chrome(Vivaldi)

After installing this extension I was pretty surprised target="_blank" is blocked when directly clicking 'a href', I expected it to only block directly JS triggered popups :(

Ruedii commented 2 months ago

Yes, this is an issue.

It is strange, because right click and open in new tab works, but not the middle click shortcut. Clearly something to do with how Firefox implements the middle click shortcut.