Homestuck Companion

Homestuck Companion

Adds commentary and improves Homestuck.com, and redirects its links to The Unofficial Homestuck Collection, if installed.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "description": "Adds commentary and improves Homestuck.com, and redirects its links to The Unofficial Homestuck Collection, if installed.",
  "manifest_version": 2,
  "name": "Homestuck Companion",
  "version": "2.0",
  "homepage_url": "https://homestuck.net/companion.html",
  "icons": {
    "48": "icons/border-48.png"
  },
  "background": {
    "scripts": [
      "node_modules/webextension-polyfill/dist/browser-polyfill.min.js",
      "installation.js"
    ]
  },
  "web_accessible_resources": [
    "commentary.json"
  ],
  "content_scripts": [
    {
      "matches": [
        "*://www.homestuck.com/story",
        "*://www.homestuck.com/story/*",
        "*://www.homestuck.com/credits",
        "*://www.homestuck.com/problem-sleuth",
        "*://www.homestuck.com/problem-sleuth/*",
        "*://www.homestuck.com/jailbreak",
        "*://www.homestuck.com/jailbreak/*",
        "*://www.homestuck.com/ryanquest",
        "*://www.homestuck.com/ryanquest/*",
        "*://www.homestuck.com/sweet-bro-and-hella-jeff",
        "*://www.homestuck.com/sweet-bro-and-hella-jeff/*",
        "*://www.homestuck.com/epilogues",
        "*://www.homestuck.com/epilogues/*",
        "*://www.homestuck2.com/",
        "*://www.homestuck2.com/story/*",
        "*://homestuck2.com/",
        "*://homestuck2.com/story/*"
      ],
      "js": [
        "node_modules/webextension-polyfill/dist/browser-polyfill.min.js",
        "hscompanion.js"
      ]
    }
  ],
  "options_ui": {
    "page": "options.html"
  },
  "permissions": [
    "webRequest",
    "storage"
  ]
}