Distraction Timer Firefox

Examine source code of Distraction Timer

Inspect and view changes in Distraction Timer source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "name": "Distraction Timer",
  "description": "Focus timer that blocks distracting content.",
  "version": "1.0.0",
  "manifest_version": 2,
  "browser_action": {
    "default_popup": "index.html",
    "default_title": "Distraction Timer",
    "default_icon": {
      "48": "icons/logo-48.png"
    }
  },
  "icons": {
    "48": "icons/logo-48.png"
  },
  "content_scripts": [
    {
      "matches": [
        "*://*.youtube.com/*"
      ],
      "js": [
        "websites-content-script/youtube.js"
      ]
    },
    {
      "matches": [
        "*://*.instagram.com/*",
        "*://*.reddit.com/*",
        "*://*.tiktok.com/*",
        "*://*.facebook.com/*",
        "*://*.twitter.com/*",
        "*://*.x.com/*",
        "*://*.youtube.com/*",
        "*://*.netflix.com/*",
        "*://*.hulu.com/*",
        "*://*.twitch.tv/*",
        "*://*.pinterest.com/*",
        "*://*.snapchat.com/*",
        "*://*.discord.com/*",
        "*://*.tumblr.com/*",
        "*://*.roblox.com/*",
        "*://*.steamcommunity.com/*",
        "*://*.epicgames.com/*",
        "*://*.primevideo.com/*",
        "*://*.disneyplus.com/*",
        "*://*.hbo.com/*",
        "*://*.kick.com/*",
        "*://*.9gag.com/*",
        "*://*.deviantart.com/*"
      ],
      "js": [
        "websites-content-script/full-block.js"
      ]
    }
  ],
  "background": {
    "scripts": [
      "background.js"
    ]
  },
  "permissions": [
    "*://www.youtube.com/*",
    "*://m.youtube.com/*",
    "*://i.ytimg.com/*",
    "webRequest",
    "storage",
    "webRequestBlocking",
    "tabs",
    "notifications"
  ],
  "web_accessible_resources": [
    "images/test.jpg"
  ],
  "browser_specific_settings": {
    "gecko": {
      "id": "{b76c4a88-f4f9-4576-9f4e-a6c0e1e0a450}"
    }
  }
}

Best Distraction Timer Alternatives

Here are some Firefox add-ons that are similar to Distraction Timer: