myblock 升级版
This commit is contained in:
16
myblock/.vscode/launch.json
vendored
Normal file
16
myblock/.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
// Use IntelliSense to learn about possible attributes.
|
||||
// Hover to view descriptions of existing attributes.
|
||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"request": "launch",
|
||||
"name": "Chrome Extension debugging",
|
||||
"port": 9222,
|
||||
"type": "chrome",
|
||||
"url": "https://www.baidu.com",
|
||||
"webRoot": "${workspaceFolder}"
|
||||
}
|
||||
]
|
||||
}
|
||||
0
myblock/background/worker.js
Normal file
0
myblock/background/worker.js
Normal file
0
myblock/content/inject.js
Normal file
0
myblock/content/inject.js
Normal file
37
myblock/manifest.json
Normal file
37
myblock/manifest.json
Normal file
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"background": {
|
||||
"js": [
|
||||
"background/worker.js"
|
||||
]
|
||||
},
|
||||
"browser_action": {
|
||||
"default_icon": {
|
||||
"16": "static/icons/16.png",
|
||||
"32": "static/icons/32.png",
|
||||
"48": "static/icons/48.png",
|
||||
"64": "static/icons/64.png"
|
||||
},
|
||||
"default_title": "MyBlock"
|
||||
},
|
||||
"content_scripts": [ {
|
||||
"all_frames": true,
|
||||
"js": [ "content/inject.js" ],
|
||||
"matches": [ "*://*/*" ],
|
||||
"run_at": "document_start"
|
||||
} ],
|
||||
"description": "block all",
|
||||
"homepage_url": "http://474420502.top",
|
||||
"icons": {
|
||||
"128": "static/icons/128.png",
|
||||
"16": "static/icons/16.png",
|
||||
"32": "static/icons/32.png",
|
||||
"48": "static/icons/48.png",
|
||||
"64": "static/icons/64.png"
|
||||
},
|
||||
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlurgt0Ykv740tjk1ebeiSX6UVVRRhxVvh+FvRMTe9PKzkAKUDEW2IjNUz1swxZA8ILnMvtyamAfiErTOxUFB8+zCADU/CK2YEhqUJo3tmHCg6EP2XJL220ZXjmIeft1AqJV1BmGRLhm8VnH8dJ2EThfcflx4JEdlh0/aLJr6UVjF2hPVX8JLAMTVjEfiC82KDNGgXDADqBm3E/6n+Dx+3KhgIYTXKIMk+qRVaOhjAJLh8a9OrDBwpylP5RDifTAyVVa9UOyoLNqynzC9oLabWUr1ovWAOiivhYknFCXnl5q971iNSFpmjc+ZW+aK+TRjMnJF84IeA170corVG3KgnwIDAQAB",
|
||||
"manifest_version": 2,
|
||||
"name": "MyBlock",
|
||||
"permissions": [ "storage", "*://*/*", "activeTab", "webRequest", "webRequestBlocking","webNavigation", "tabs"],
|
||||
"short_name": "myblock",
|
||||
"version": "0.1.0"
|
||||
}
|
||||
BIN
myblock/static/icons/128.png
Normal file
BIN
myblock/static/icons/128.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 25 KiB |
BIN
myblock/static/icons/16.png
Normal file
BIN
myblock/static/icons/16.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
BIN
myblock/static/icons/32.png
Normal file
BIN
myblock/static/icons/32.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.8 KiB |
BIN
myblock/static/icons/48.png
Normal file
BIN
myblock/static/icons/48.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.1 KiB |
BIN
myblock/static/icons/64.png
Normal file
BIN
myblock/static/icons/64.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.1 KiB |
Reference in New Issue
Block a user