AskBlocker

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

Vad är AskBlocker?

AskBlocker är en Chrome-tillägg utvecklad av https://adamlynch.com, och dess huvudfunktion är "Blocks overly-eager permission requests for notifications, location, etc. For example, before you've interacted with the page.".

Tilläggsskärmbilder

screenshot

Ladda ner AskBlocker-förlängningens CRX-fil

Ladda ner AskBlocker-filändelser i crx-format, installera Chrome-tillägg manuellt i webbläsaren eller dela crx-filerna med vänner för att enkelt installera Chrome-tillägg.

Användarmanual för Tillägg

                        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.                    

Grundläggande Information om Tillägg

Namn AskBlocker AskBlocker
ID eelfgnmggfgncoipinopobfcabnfknho
Officiell webbadress https://chromewebstore.google.com/detail/askblocker/eelfgnmggfgncoipinopobfcabnfknho
Beskrivning Blocks overly-eager permission requests for notifications, location, etc. For example, before you've interacted with the page.
Filstorlek 57.04 KB
Antal Installationer 173
Aktuell Version 1.0.7
Senast Uppdaterad 2018-03-04
Publiceringsdatum 2018-03-04
Betyg 3.67/5 Totalt 3 Betyg
Utvecklare https://adamlynch.com
Betalningssätt free
Tilläggswebbplats https://adamlynch.com/askblocker/
Hjälpsida URL https://github.com/adam-lynch/askblocker/issues
Stödda Språk en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "manifest_version": 2,
    "name": "AskBlocker",
    "description": "Blocks overly-eager permission requests for notifications, location, etc. For example, before you've interacted with the page.",
    "version": "1.0.7",
    "homepage_url": "https:\/\/adamlynch.com\/askblocker",
    "background": {
        "scripts": [
            "browser-polyfill.min.js",
            "background.js"
        ]
    },
    "browser_action": {
        "default_icon": "icons\/askBlocker-128.png",
        "default_popup": "popup.html"
    },
    "content_scripts": [
        {
            "matches": [
                ""
            ],
            "all_frames": true,
            "js": [
                "browser-polyfill.min.js",
                "content.js"
            ],
            "run_at": "document_start"
        }
    ],
    "icons": {
        "16": "icons\/askBlocker-16.png",
        "32": "icons\/askBlocker-32.png",
        "48": "icons\/askBlocker-48.png",
        "128": "icons\/askBlocker-128.png",
        "512": "icons\/askBlocker-512.png"
    },
    "permissions": []
}