Prevent Custom Document Role

Prevent Custom Document Role

Prevents web pages from declaring a custom ARIA accessibility role for the body. This enables WebAutoType and KeyLayoutAutoSwitch to access the URL.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "manifest_version": 2,
  "name": "Prevent Custom Document Role",
  "version": "0.2resigned1",
  "author": "Alex Vallat",
  "applications": {
    "gecko": {
      "id": "[email protected]"
    }
  },
  "content_scripts": [
    {
      "all_frames": true,
      "matches": [
        "*://*/*"
      ],
      "js": [
        "PreventCustomDocumentRole.js"
      ],
      "run_at": "document_end"
    }
  ],
  "permissions": []
}