네이버 카페 필터링
네이버 카페 필터링
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"description": "네이버 카페 필터링",
"version": "5.1.1",
"manifest_version": 3,
"name": "네이버 카페 필터링",
"action": {
"default_icon": "/img/on.png",
"default_popup": "html/popup.html"
},
"icons": {
"16": "/img/icon_16.png",
"48": "/img/icon_48.png",
"128": "/img/icon_128.png"
},
"background": {
"service_worker": "background.bundle.js",
"type": "module"
},
"commands": {
"COMMAND_TOGGLE": {
"description": "on/off"
},
"COMMAND_FILTER_THIS_WRITER": {
"description": "현재 글 작성자 필터링"
}
},
"content_scripts": [
{
"matches": [
"https://cafe.naver.com/*",
"https://cafe.naver.com/*/*",
"https://cafe.naver.com/ca-fe/ArticleRead.nhn?*"
],
"js": [
"activateSW.bundle.js"
],
"run_at": "document_start",
"all_frames": true
},
{
"matches": [
"https://cafe.naver.com/ArticleList.nhn?*.boardtype=I*"
],
"js": [
"article_list_image.bundle.js"
],
"run_at": "document_end",
"all_frames": true
},
{
"matches": [
"https://cafe.naver.com/*List.nhn*"
],
"exclude_matches": [
"https://cafe.naver.com/ArticleList.nhn?*.boardtype=I*",
"https://cafe.naver.com/CafeMemberNetworkArticleList.nhn*"
],
"js": [
"article_list.bundle.js"
],
"run_at": "document_end",
"all_frames": true
}
],
"options_ui": {
"open_in_tab": true,
"page": "html/options.html"
},
"permissions": [
"webRequest",
"contextMenus",
"activeTab",
"storage",
"scripting",
"notifications"
],
"host_permissions": [
"https://cafe.naver.com/*",
"https://apis.naver.com/*"
],
"content_security_policy": {
"extension_pages": "default-src 'self'; style-src 'self' 'unsafe-inline'; connect-src http://localhost:* ws://localhost:*;"
}
}