Skip to content

[Feature Request] Include (and enable) AdGuard Popup Blocker as a default Userscript #343

@owlsy

Description

@owlsy

Is your feature request related to a problem? Please describe.

Although Safari includes a built-in Popup blocker, it turns out it still isn't very good at actually blocking popups. As tested with WebBrowserTools' Test Popup Blocker, results indicate it can block popups on document_start, but that's it.

Describe the solution you'd like

AdGuard Popup Blocker seems to help a little bit further by blocking most window.open and iframe methods that Safari on its own can't. We could have it included as a default Userscript, and enabled by default, alongside AdGuard Extra.

Describe alternatives you've considered

Still have it included, but not enabled by default.

Additional context

Test results of Test Popup Blocker

Test results of Test Popup Blocker

Tested with Safari Technology Preview Release 241 (WebKit 21625.1.12)

... document.write …
❌ all failed

... window.open …
❌ method 1 - 4 failed
✅ method 5 - 14 blocked by AdGuard Popup Blocker
❌ method 15 - 18 failed

... target …
❌ all failed

... iframe …
❌ method 1 - 3 failed
✅ method 4 - 7 blocked by AdGuard Popup Blocker
❌ method 8 - 9 failed

... event …
❌ all failed

... redirect …
❌ all failed

... cross-origin …
❌ all failed

... misc …
✅ method 1 blocked by Safari
❌ method 2 failed
✅ method 3 - 4 not blocked (good thing)

✅ load two popups on "document_start" blocked by Safari

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions