Open Bug 1429357 Opened 3 years ago Updated 1 year ago

Investigate improvements to the popup blocker to prevent unwanted behaviour

Categories

(Core :: DOM: Navigation, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: jkt, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

Improve the popup blocker to prevent unwanted behaviour.
https://blog.chromium.org/2017/11/expanding-user-protections-on-web.html

Sites with abusive experiences should get a stronger popup blocker:
     https://bugs.chromium.org/p/chromium/issues/detail?id=756089
To recap the changes in mentioned in Chrome's blog:

1) Third party frames can't navigate the top level without user interacting.  If they try, Firefox can ask the user if they want to follow the navigation or ignore it.
> This sounds good to me!

2) It sounds like they are adding a SafeBrowsing list for abusive websites.  We could integrate this list into Firefox, the way we do for the SafeBrowsing list.  When we find an abusive website, we could block it with an interstitial or browser chrome.
> This needs more investigation.
Priority: -- → P3
(In reply to Tanvi Vyas[:tanvi] from comment #1)
> 2) It sounds like they are adding a SafeBrowsing list for abusive websites.

My guess would be this one: https://searchfox.org/mozilla-central/rev/4611b9541894e90a421debb57ddbbcff55c2f369/toolkit/components/url-classifier/chromium/safebrowsing.proto#289
3) When a site does a window.open() to a new tab that steals focus, the previous tab is preserved and doesn't redirect.
> This one might be trickier to get right.  We may break valid use cases.
Depends on: 1433267
Duplicate of this bug: 1611702
You need to log in before you can comment on or make changes to this bug.