Redirect AMP to HTML Firefox

Examine source code of Redirect AMP to HTML

提供元: Aleksandersen Add-on
Inspect and view changes in Redirect AMP to HTML source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 2,
  "version": "2.1.0",
  "name": "Redirect AMP to HTML",
  "description": "Automatically redirects AMP pages to their canonical HTML equivalent.",
  "short_name": "amp2html",
  "author": "Daniel Aleksandersen",
  "homepage_url": "https://www.daniel.priv.no/web-extensions/amp2html.html",
  "icons": {
    "48": "assets/icon_48.png",
    "256": "assets/icon_256.png"
  },
  "permissions": [
    "*://t.co/*",
    "https://bing-amp.com/c/*",
    "https://*.bing-amp.com/c/*",
    "https://cdn.ampproject.org/c/*",
    "https://*.cdn.ampproject.org/c/*",
    "https://www.bing.com/amp/*",
    "https://www.google.com/amp/*",
    "webRequest",
    "webRequestBlocking"
  ],
  "background": {
    "scripts": [
      "scripts/redirector.js"
    ]
  },
  "applications": {
    "gecko": {
      "id": "{569456be-2850-4f7e-b669-71e55140ee0a}",
      "strict_min_version": "60.0"
    }
  },
  "incognito": "spanning",
  "content_scripts": [
    {
      "js": [
        "scripts/amp2html.js"
      ],
      "matches": [
        "http://*/*",
        "https://*/*"
      ],
      "run_at": "document_end"
    }
  ]
}

ベストのRedirect AMP to HTML代替案

Redirect AMP to HTMLに類似したFirefox add-onをいくつか紹介します: