xkcd Enhancer

This small extension will revolutionise your xkcd viewing experience.
Premium users can view and search full source code, and see the source code differences between two versions.
Upgrade to premium
manifest.json
{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 3,
  "name": "xkcd Enhancer",
  "short_name": "xkcd Enhancer",
  "version": "9",
  "options_ui": {
    "page": "options/options.html",
    "open_in_tab": true
  },
  "content_scripts": [
    {
      "matches": [
        "http://xkcd.com/*",
        "http://*.xkcd.com/*",
        "https://xkcd.com/*",
        "https://*.xkcd.com/*"
      ],
      "css": [
        "fix.css"
      ],
      "js": [
        "jquery.min.js",
        "script.js"
      ]
    }
  ],
  "background": {
    "service_worker": "service_worker.js",
    "type": "module"
  },
  "description": "This small extension will revolutionise your xkcd viewing experience.",
  "icons": {
    "48": "images/icon48.png",
    "128": "images/icon128.png"
  },
  "permissions": [
    "storage",
    "downloads",
    "alarms"
  ],
  "action": {
    "default_icon": "images/icon.png",
    "default_title": "xkcd Enhancer",
    "default_popup": "popup/popup.html"
  },
  "web_accessible_resources": [
    {
      "resources": [
        "fix.css",
        "script.js",
        "jquery.min.js"
      ],
      "matches": [
        "http://xkcd.com/*",
        "http://*.xkcd.com/*",
        "https://xkcd.com/*",
        "https://*.xkcd.com/*"
      ]
    }
  ]
}