Wikipedia mobile version Firefox

Examine source code of Wikipedia mobile version

By: Mark
Inspect and view changes in Wikipedia mobile version source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 2,
  "name": "Redirect to mobile site for Wikimedia pages",
  "short_name": "Wikimedia Mobile Redirect",
  "description": "When you visit the desktop version of a Wikimedia page, you will be taken to the mobile-optimised page instead",
  "author": "Mark Kenny",
  "homepage_url": "https://beingmrkenny.co.uk/web-extensions/wikimedia-mobile-redirect",
  "version": "1.3.5",
  "icons": {
    "16": "img/16.png",
    "48": "img/48.png",
    "128": "img/128.png"
  },
  "permissions": [
    "storage"
  ],
  "content_scripts": [
    {
      "include_globs": [
        "http://*.wikibooks.org/*",
        "http://*.wikidata.org/*",
        "http://*.wikimedia.org/*",
        "http://*.wikinews.org/*",
        "http://*.wikipedia.org/*",
        "http://*.wikiquote.org/*",
        "http://*.wikisource.org/*",
        "http://*.wikiversity.org/*",
        "http://*.wikivoyage.org/*",
        "http://*.wiktionary.org/*",
        "https://*.wikibooks.org/*",
        "https://*.wikidata.org/*",
        "https://*.wikimedia.org/*",
        "https://*.wikinews.org/*",
        "https://*.wikipedia.org/*",
        "https://*.wikiquote.org/*",
        "https://*.wikisource.org/*",
        "https://*.wikiversity.org/*",
        "https://*.wikivoyage.org/*",
        "https://*.wiktionary.org/*"
      ],
      "js": [
        "URLProcessor.js",
        "script.js"
      ],
      "matches": [
        "http://*.wikibooks.org/*",
        "http://*.wikidata.org/*",
        "http://*.wikimedia.org/*",
        "http://*.wikinews.org/*",
        "http://*.wikipedia.org/*",
        "http://*.wikiquote.org/*",
        "http://*.wikisource.org/*",
        "http://*.wikiversity.org/*",
        "http://*.wikivoyage.org/*",
        "http://*.wiktionary.org/*",
        "https://*.wikibooks.org/*",
        "https://*.wikidata.org/*",
        "https://*.wikimedia.org/*",
        "https://*.wikinews.org/*",
        "https://*.wikipedia.org/*",
        "https://*.wikiquote.org/*",
        "https://*.wikisource.org/*",
        "https://*.wikiversity.org/*",
        "https://*.wikivoyage.org/*",
        "https://*.wiktionary.org/*"
      ],
      "run_at": "document_start"
    }
  ],
  "browser_action": {
    "default_title": "Redirect to mobile site for Wikimedia pages",
    "default_popup": "popup.html",
    "default_icon": "img/buttonIcon.png"
  },
  "browser_specific_settings": {
    "gecko": {
      "id": "{db522efe-b216-403e-bcf0-4c8b6d3cfd2f}"
    }
  }
}

Best Wikipedia mobile version Alternatives

Here are some Firefox add-ons that are similar to Wikipedia mobile version: