Youtube Shorts Blocker Firefox

Examine source code of Youtube Shorts Blocker

Inspect and view changes in Youtube Shorts Blocker source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 3,
  "name": "Youtube Shorts Blocker",
  "version": "1.2.1",
  "description": "Removes the shorts from Youtube",
  "icons": {
    "32": "icons/block-shorts_x32.png",
    "48": "icons/block-shorts_x48.png",
    "64": "icons/block-shorts_x64.png"
  },
  "action": {
    "default_title": "Youtube Shorts Blocker",
    "default_icon": {
      "32": "icons/block-shorts_x32.png",
      "48": "icons/block-shorts_x48.png",
      "64": "icons/block-shorts_x64.png"
    }
  },
  "content_scripts": [
    {
      "matches": [
        "https://www.youtube.com/*"
      ],
      "js": [
        "content-script.js"
      ],
      "run_at": "document_end"
    }
  ],
  "permissions": [
    "storage",
    "declarativeNetRequest"
  ],
  "host_permissions": [
    "https://www.youtube.com/shorts/*"
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "noShorts.html"
      ],
      "matches": [
        "<all_urls>"
      ]
    }
  ],
  "background": {
    "scripts": [
      "background.js"
    ]
  },
  "options_ui": {
    "page": "options.html",
    "open_in_tab": false
  },
  "author": "JF Studio",
  "homepage_url": "https://jfstudio.dev",
  "developer": {
    "name": "JF Studio",
    "url": "https://ko-fi.com/jfstudio"
  },
  "browser_specific_settings": {
    "gecko": {
      "id": "youtube-shorts-blocker@jfstudio.com",
      "strict_min_version": "140.0",
      "data_collection_permissions": {
        "required": [
          "none"
        ],
        "collection": {
          "storage": {
            "purpose": "To save user preferences for where to hide YouTube Shorts (homepage, search, panel, menu) and whether to block Shorts video playback",
            "usage": "All settings are stored locally on the user's device using browser.storage.local API. No data is transmitted to external servers."
          },
          "declarativeNetRequest": {
            "purpose": "To redirect YouTube Shorts video URLs when the user has enabled the 'Disable video playback' option",
            "usage": "Creates a local redirect rule that blocks navigation to /shorts/ URLs and shows a blocking page instead. All processing is done locally in the browser."
          }
        },
        "privacy_policy_url": "https://jfstudio.dev/privacy-policies/youtube-shorts-blocker/PRIVACY.md"
      }
    }
  }
}

Best Youtube Shorts Blocker Alternatives

Here are some Firefox add-ons that are similar to Youtube Shorts Blocker: