AskBlocker

#3.67 / 3 rate

AskBlocker

167 users

2018-03-04

https://adamlynch.com

Extension Information

5 star
67%
4 star
0%
3 star
0%
2 star
0%
1 star
33%

Supported Languages

Description

Blocks overly-eager permission requests for notifications, location, etc. For example, before you've interacted with the page.

Block overly-eager permission requests for notifications, location, etc. For example, ones that happen before you've interacted with the page. This was created as part of How to improve your permissions UX (https://adamlynch.com/improve-permissions-ux).

How it works:

Permissions requests are blocked until you've interacted with the page; i.e. click, tap, or key press. Although there are the following exceptions:

- If the permission has been previously requested and granted (or explicitly denied).
- If the domain is `localhost` or `127.0.0.1`.
- If you've navigated to the current page from another page on the same domain.

Things not covered and why:

- Accelerometer, gyroscope, magnetometer, device motion, device orientation, etc. They don't trigger a permissions request popup.
- Ambient light sensor. It doesn't trigger a permissions request popup.
- Bluetooth. This can only be requested due to user interaction anyway (https://webbluetoothcg.github.io/web-bluetooth/#requestDevice-user-gesture).
- Clipboard. It doesn't trigger a permissions request popup.
- Flash. I don't know how the prompt is triggered or how I can intercept this.
- Geolocation's `watchPosition` method. There's no way to achieve this without breaking stuff. It returns an ID and it doesn't offer any way to check the status of the permission, like `Notification.permission`. The Permission API could be used but it's asynchronous (Promise based), so there's no way to use it and also still return the ID.
- Web USB. Not really supported yet (and the Permission API doesn't support it yet), so it probably won't be annoying anyone.

Reviews

Ryan Close
Ryan Close

Useless. I'm forced to give this 1 more star than 'asks' that it blocked (0)

Ancient Ukr
Ancient Ukr

Thank you for good work!

Xedd MrC
Xedd MrC

Finally! An extension that blocks those annoying requests. I don't know why random sites I only intend to visit for a minute or so, feel the need to request permissions to spam me with notifications or get my location. Can't thank you enough dev. 5 stars well deserved.

Similar extensions

PopupBeGone
PopupBeGone

Gavin Song

Popup blocker
Popup blocker

Raj

LEX Ad Blocker
LEX Ad Blocker

Unknown

Block Website Notification Requests
Block Website Notification Requests

Akshay Surve

Block Notifications
Block Notifications

https://browsernative.com

Nope 2 Overlays
Nope 2 Overlays

redballoon

Origin Requests Only (Firewall)
Origin Requests Only (Firewall)

ATCS

Block Unreachable Scripts
Block Unreachable Scripts

em_te

WhackAMole Ad-Blocker
WhackAMole Ad-Blocker

https://chrislaffra.com

Security Tweaks
Security Tweaks

loora

Content-aware Ad Blocker
Content-aware Ad Blocker

Tom W Yedwab

Remove Cookie Banners
Remove Cookie Banners

Ceni Apps