pakku:哔哩哔哩弹幕过滤器
瞬间过滤B站(bilibili.com)的刷屏弹幕,还你清爽的弹幕视频体验。
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"name": "pakku:哔哩哔哩弹幕过滤器",
"short_name": "pakku",
"version": "2024.5.3",
"description": "瞬间过滤B站(bilibili.com)的刷屏弹幕,还你清爽的弹幕视频体验。",
"homepage_url": "https://s.xmcp.ltd/pakkujs/?src=wext_homepage",
"icons": {
"48": "assets/logo_48.png",
"128": "assets/logo.png"
},
"author": "xmcp",
"manifest_version": 3,
"minimum_chrome_version": "94",
"permissions": [
"notifications",
"storage",
"contextMenus",
"scripting",
"declarativeNetRequestWithHostAccess"
],
"host_permissions": [
"*://*.bilibili.com/*"
],
"optional_host_permissions": [
"ws://*.bilibili.com/*",
"wss://*.bilibili.com/*"
],
"options_ui": {
"page": "page/options.html",
"open_in_tab": true
},
"action": {
"default_icon": "assets/icon_display.png",
"default_popup": "page/popup.html",
"default_title": "pakku"
},
"commands": {
"toggle-global-switch": {
"suggested_key": {
"default": "Alt+R"
},
"description": "切换工作状态"
},
"show-local": {
"description": "处理本地弹幕"
},
"_execute_action": {
"suggested_key": {
"default": "Alt+X"
},
"description": "打开对话框"
}
},
"background": {
"service_worker": "generated/background.js"
},
"content_scripts": [
{
"matches": [
"*://*.bilibili.com/*"
],
"exclude_matches": [
"https://www.bilibili.com/robots.txt?pakku_sandbox"
],
"js": [
"/generated/content_script.js"
],
"run_at": "document_start",
"all_frames": false
},
{
"matches": [
"https://www.bilibili.com/robots.txt?pakku_sandbox"
],
"js": [
"/generated/content_script.js"
],
"run_at": "document_start",
"all_frames": true
}
],
"web_accessible_resources": [
{
"resources": [
"/generated/combine_worker.js",
"/generated/xhr_hook.js"
],
"matches": [
"*://*.bilibili.com/*"
]
}
]
}