開門!查IP
將八卦版 IP 自動轉換為國旗
本套件以 MIT 授權釋出,詳情請見: https://github.com/osk2/ptt-comment-flag
圖示由 Freepik (http://www.freepik.com) 提供
Premium users can view and search full source code, and see the source code differences
between two versions.
Upgrade to premium
manifest.json
{
"name": "八卦插IP",
"short_name": "八卦插IP",
"manifest_version": 2,
"version": "1.10resigned1",
"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/*"
],
"browser_specific_settings": {
"gecko": {
"id": "{10128fb8-41b8-41f5-be77-85ffab44b8d8}"
}
}
}