UnDistracted (Main) Firefox

Examine source code of UnDistracted (Main)

Inspect and view changes in UnDistracted (Main) source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "name": "UnDistracted - Hide Facebook, YouTube Feeds",
  "version": "3.6.31",
  "description": "Rise above the time-sinks",
  "permissions": [
    "storage",
    "webNavigation"
  ],
  "optional_permissions": [
    "scripting"
  ],
  "optional_host_permissions": [
    "*://*.instagram.com/*",
    "*://*.x.com/",
    "*://*.pinterest.com/"
  ],
  "content_security_policy": {
    "extension_pages": "default-src 'self'; script-src 'self'; object-src 'self'; img-src 'self' data:; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; connect-src https://undistracted-server.up.railway.app/"
  },
  "background": {
    "scripts": [
      "service_worker.js"
    ]
  },
  "content_scripts": [
    {
      "matches": [
        "*://*.twitter.com/*"
      ],
      "run_at": "document_start",
      "js": [
        "undistracted-twitter.js"
      ]
    },
    {
      "matches": [
        "*://*.youtube.com/*"
      ],
      "run_at": "document_start",
      "js": [
        "undistracted-youtube.js"
      ]
    },
    {
      "matches": [
        "*://*.facebook.com/*"
      ],
      "run_at": "document_start",
      "js": [
        "undistracted-facebook.js"
      ]
    },
    {
      "matches": [
        "*://*.reddit.com/*"
      ],
      "run_at": "document_start",
      "js": [
        "undistracted-reddit.js"
      ]
    },
    {
      "matches": [
        "*://*.netflix.com/*"
      ],
      "run_at": "document_start",
      "js": [
        "undistracted-netflix.js"
      ]
    },
    {
      "matches": [
        "*://*.linkedin.com/*"
      ],
      "run_at": "document_start",
      "js": [
        "undistracted-linkedin.js"
      ]
    }
  ],
  "icons": {
    "16": "icons/icon16.png",
    "48": "icons/icon48.png",
    "128": "icons/icon128.png"
  },
  "action": {
    "default_icon": {
      "16": "icons/icon16.png",
      "48": "icons/icon48.png",
      "128": "icons/icon128.png"
    },
    "default_popup": "index.html",
    "default_title": "UnDistracted"
  },
  "manifest_version": 3,
  "externally_connectable": {
    "matches": [
      "https://*.undistracted.app/*"
    ]
  },
  "browser_specific_settings": {
    "gecko": {
      "id": "{991d8f63-23af-40a1-9011-21a68091be76}",
      "strict_min_version": "142.0",
      "data_collection_permissions": {
        "required": [
          "none"
        ],
        "optional": [
          "personallyIdentifyingInfo",
          "authenticationInfo",
          "technicalAndInteraction"
        ]
      }
    },
    "gecko_android": {
      "strict_min_version": "142.0"
    }
  }
}

Best UnDistracted (Main) Alternatives

Here are some Firefox add-ons that are similar to UnDistracted (Main):