八卦插IP

八卦插IP

開門!查IP 將八卦版 IP 自動轉換為國旗 本套件以 MIT 授權釋出,詳情請見: https://github.com/osk2/ptt-comment-flag 圖示由 Freepik (http://www.freepik.com) 提供

Additional files are visible only to premium users

manifest.json


{
  "name": "八卦插IP",
  "short_name": "八卦插IP",
  "manifest_version": 2,
  "version": "1.9",
  "description": "開門!查IP",
  "author": "osk2",
  "icons": {
    "128": "images/icon_128.png"
  },
  "permissions": [
    "activeTab",
    "https://www.ptt.cc/bbs/Gossiping/",
    "https://osk2.me/"
  ],
  "homepage_url": "http://www.osk2.me",
  "content_scripts": [
    {
      "matches": [
        "https://www.ptt.cc/bbs/*/M*"
      ],
      "css": [
        "css/tippy.css",
        "css/style.css"
      ],
      "js": [
        "js/axios.min.js",
        "js/tippy.min.js",
        "js/content_script.js"
      ],
      "run_at": "document_end"
    }
  ],
  "web_accessible_resources": [
    "js/*",
    "css/*"
  ]
}