Twitter Bird Shield

Twitter Bird Shield

This plugin can block malicious users and optimize the interface. It can also auto-expand sub-lists, video downloads!

Merlin
Additional files are visible only to premium users

manifest.json


{
  "name": "__MSG_name__",
  "description": "__MSG_description__",
  "version": "0.2.1",
  "manifest_version": 3,
  "permissions": [
    "downloads",
    "cookies",
    "storage",
    "scripting",
    "unlimitedStorage",
    "tabs",
    "alarms"
  ],
  "host_permissions": [
    "*://*.twitter.com/*",
    "*://*.x.com/*",
    "*://api.github.com/*",
    "*://*.openai.com/*"
  ],
  "icons": {
    "16": "icons/16.png",
    "48": "icons/48.png"
  },
  "background": {
    "service_worker": "service-worker.js",
    "type": "module"
  },
  "options_ui": {
    "page": "options.html",
    "open_in_tab": true
  },
  "action": {
    "default_popup": "popup.html"
  },
  "default_locale": "zh_CN",
  "web_accessible_resources": [
    {
      "resources": [
        "injected.js",
        "web.js",
        "vendors.js",
        "background.js"
      ],
      "matches": [
        "https://twitter.com/*",
        "https://x.com/*"
      ]
    }
  ],
  "content_scripts": [
    {
      "css": [
        "css/content.css"
      ],
      "matches": [
        "https://twitter.com/*",
        "https://x.com/*"
      ],
      "run_at": "document_end"
    },
    {
      "js": [
        "content.js"
      ],
      "matches": [
        "https://twitter.com/*",
        "https://x.com/*"
      ],
      "run_at": "document_start"
    }
  ],
  "update_url": "https://edge.microsoft.com/extensionwebstorebase/v1/crx"
}