AntiBrainrot Firefox

Examine source code of AntiBrainrot

By: bajugo
Inspect and view changes in AntiBrainrot source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 2,
  "name": "AntiBrainrot",
  "version": "0.1.6",
  "description": "Disable webpages that distract your attention",
  "browser_specific_settings": {
    "gecko": {
      "id": "BAJUGO_@_antibrainrot.com",
      "data_collection_permissions": {
        "required": [
          "none"
        ]
      }
    }
  },
  "icons": {
    "48": "icons/48.png"
  },
  "browser_action": {
    "default_icon": {
      "48": "icons/48.png"
    },
    "default_title": "No shorts!",
    "default_popup": "../pages/noshorts_popup.html"
  },
  "background": {
    "scripts": [
      "scripts/background.js"
    ]
  },
  "content_scripts": [
    {
      "matches": [
        "*://*.youtube.com/*"
      ],
      "js": [
        "scripts/youtube.js"
      ],
      "css": [
        "scripts/youtube.css"
      ]
    },
    {
      "matches": [
        "*://*.tiktok.com/*"
      ],
      "js": [
        "scripts/full_prohibited.js"
      ]
    }
  ],
  "web_accessible_resources": [
    "pages/anti-brainrot.html"
  ]
}

Best AntiBrainrot Alternatives

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