Clean-Spam-Link-Tweet

Clean-Spam-Link-Tweet

ツイート(返信)から悪質なリンクが記載されたツイートを可視化してナイト系スパム等のリンクを踏む事を阻止します。

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "name": "Clean-Spam-Link-Tweet",
  "version": "1.9.5",
  "manifest_version": 3,
  "description": "ツイート(返信)から悪質なリンクが記載されたツイートを可視化してナイト系スパム等のリンクを踏む事を阻止します。",
  "icons": {
    "128": "icon.png"
  },
  "action": {
    "default_popup": "popup.html",
    "default_icon": "icon.png"
  },
  "declarative_net_request": {
    "rule_resources": [
      {
        "id": "ruleset_1",
        "enabled": true,
        "path": "rules.json"
      }
    ]
  },
  "web_accessible_resources": [
    {
      "resources": [
        "cslt_tweet_ctrl.js",
        "filter.json",
        "imp_filter.json",
        "stealth_icon.svg",
        "report_icon.svg",
        "report_fail_icon.svg"
      ],
      "matches": [
        "https://twitter.com/*",
        "https://t.co/*",
        "https://cdn.jsdelivr.net/*"
      ]
    }
  ],
  "background": {
    "service_worker": "background.js"
  },
  "permissions": [
    "storage",
    "declarativeNetRequest",
    "cookies"
  ],
  "host_permissions": [
    "<all_urls>"
  ],
  "content_scripts": [
    {
      "matches": [
        "https://twitter.com/*"
      ],
      "js": [
        "content.js"
      ],
      "all_frames": true
    }
  ]
}