Examine source code of Wikipedia mobile version

Inspect and view changes in Wikipedia mobile version source codes across current and past versions
Premium users can view and search full source code, and see the source code differences between two versions.
Upgrade to premium
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}"
    }
  }
}