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

[Feature request] Smarter shadow windows #73

Open narcolepticinsomniac opened 6 years ago

narcolepticinsomniac commented 6 years ago

I think this is an underutilized feature in general. It could probably be integrated with a little logic to kick in on its own if it detects that a site tries to open a popup which isn't accepted and then tries to open subsequent popups.

In these scenarios, it's obvious they're malicious. The biggest problem never solved is recursive loops, for example, which sabotage functionality. Shadow windows were a great idea, but they need to kick in automatically in obvious scenarios to really be put to their best use.

schomery commented 6 years ago

Can we have an updated link please.

narcolepticinsomniac commented 6 years ago

Yeah, I think that site went down like a week after posting the link. They've been dropping like flies the past year. I don't currently have a good example of the recursive loop issue, but utilizing shadow windows automatically seems like a no-brainer to me regardless. If a site tries to open the same popups after one isn't accepted, banish them to the Shadow DOM.