LinkSentry Firefox

Examine source code of LinkSentry

By: Tommsel
Inspect and view changes in LinkSentry source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 3,
  "name": "__MSG_extName__",
  "version": "1.0.0",
  "description": "__MSG_extDescription__",
  "default_locale": "de",
  "permissions": [
    "storage",
    "unlimitedStorage",
    "alarms",
    "webNavigation",
    "downloads",
    "notifications",
    "scripting",
    "activeTab",
    "cookies",
    "browsingData",
    "contextMenus",
    "declarativeNetRequest",
    "declarativeNetRequestFeedback"
  ],
  "host_permissions": [
    "https://phishing.army/*",
    "https://openphish.com/*",
    "https://raw.githubusercontent.com/mitchellkrogza/Phishing.Database/*",
    "https://urlhaus.abuse.ch/*",
    "https://rdap.org/*",
    "https://crt.sh/*",
    "https://extensionpay.com/*"
  ],
  "content_security_policy": {
    "extension_pages": "default-src 'none'; script-src 'self'; style-src 'self'; img-src 'self'; font-src 'self'; object-src 'none'; base-uri 'none'"
  },
  "background": {
    "service_worker": "background.js",
    "scripts": [
      "background.js"
    ],
    "type": "module"
  },
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "content.js"
      ],
      "css": [
        "content.css"
      ],
      "run_at": "document_start",
      "all_frames": true
    },
    {
      "matches": [
        "*://mail.google.com/*",
        "*://outlook.live.com/*",
        "*://outlook.office.com/*",
        "*://outlook.office365.com/*",
        "*://mail.yahoo.com/*"
      ],
      "js": [
        "email-marker.js"
      ],
      "run_at": "document_idle"
    },
    {
      "matches": [
        "*://web.whatsapp.com/*",
        "*://web.telegram.org/*"
      ],
      "js": [
        "messenger-marker.js"
      ],
      "run_at": "document_idle"
    },
    {
      "matches": [
        "https://accounts.google.com/o/oauth2/*",
        "https://login.microsoftonline.com/*/oauth2/*",
        "https://github.com/login/oauth/*"
      ],
      "js": [
        "oauth-scanner.js"
      ],
      "run_at": "document_idle"
    },
    {
      "matches": [
        "https://twitter.com/*",
        "https://x.com/*",
        "https://www.reddit.com/*",
        "https://www.facebook.com/*"
      ],
      "js": [
        "social-marker.js"
      ],
      "run_at": "document_idle"
    },
    {
      "matches": [
        "https://*/*"
      ],
      "js": [
        "shop-detector.js"
      ],
      "run_at": "document_idle"
    },
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "form-guard.js"
      ],
      "run_at": "document_idle"
    },
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "fingerprint-guard.js"
      ],
      "run_at": "document_start"
    },
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "clipboard-guard.js"
      ],
      "run_at": "document_start"
    },
    {
      "matches": [
        "https://extensionpay.com/*"
      ],
      "js": [
        "content.js"
      ],
      "run_at": "document_start"
    }
  ],
  "action": {
    "default_popup": "popup.html",
    "default_icon": {
      "16": "icons/icon-16.png",
      "48": "icons/icon-48.png",
      "128": "icons/icon-128.png"
    }
  },
  "icons": {
    "16": "icons/icon-16.png",
    "48": "icons/icon-48.png",
    "128": "icons/icon-128.png"
  },
  "options_ui": {
    "page": "settings.html",
    "open_in_tab": true
  },
  "declarative_net_request": {
    "rule_resources": [
      {
        "id": "blocklist",
        "enabled": true,
        "path": "data/declarative_rules.json"
      }
    ]
  },
  "browser_specific_settings": {
    "gecko": {
      "id": "linksentry@tommsel.com",
      "strict_min_version": "109.0",
      "data_collection_permissions": {
        "required": [
          "none"
        ]
      }
    },
    "gecko_android": {}
  }
}

Best LinkSentry Alternatives

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