Unplug Firefox

Examine source code of Unplug

By: mkdalex
Inspect and view changes in Unplug source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 2,
  "name": "Unplug",
  "version": "1.0.0",
  "description": "Remove distracting and addictive elements from YouTube and Reddit. Take back control of your attention.",
  "icons": {
    "48": "icons/icon.svg",
    "96": "icons/icon.svg"
  },
  "permissions": [
    "storage",
    "tabs",
    "https://*.ytimg.com/*"
  ],
  "browser_specific_settings": {
    "gecko": {
      "id": "unplug@unplug-extension",
      "strict_min_version": "109.0",
      "data_collection_permissions": {
        "required": [
          "none"
        ]
      }
    }
  },
  "browser_action": {
    "default_icon": "icons/icon.svg",
    "default_popup": "popup/popup.html",
    "default_title": "Unplug"
  },
  "content_scripts": [
    {
      "matches": [
        "*://*.youtube.com/*"
      ],
      "js": [
        "lib/settings.js",
        "lib/clickbait.js",
        "content/unplug.js"
      ],
      "css": [
        "content/unplug.css"
      ],
      "run_at": "document_start"
    },
    {
      "matches": [
        "*://*.reddit.com/*"
      ],
      "js": [
        "lib/settings.js",
        "content/reddit.js"
      ],
      "css": [
        "content/reddit.css"
      ],
      "run_at": "document_start"
    }
  ]
}

Best Unplug Alternatives

Here are some Firefox add-ons that are similar to Unplug: