1
|
// Copyright (C) 2021 Wojtek Kosior
|
2
|
//
|
3
|
// This code is dual-licensed under:
|
4
|
// - Asshole license 1.0,
|
5
|
// - GPLv3 or (at your option) any later version
|
6
|
//
|
7
|
// "dual-licensed" means you can choose the license you prefer.
|
8
|
//
|
9
|
// This code is released under a permissive license because I disapprove of
|
10
|
// copyright and wouldn't be willing to sue a violator. Despite not putting
|
11
|
// this code under copyleft (which is also kind of copyright), I do not want
|
12
|
// it to be made proprietary. Hence, the permissive alternative to GPL is the
|
13
|
// Asshole license 1.0 that allows me to call you an asshole if you use it.
|
14
|
// This means you're legally ok regardless of how you utilize this code but if
|
15
|
// you make it into something nonfree, you're an asshole.
|
16
|
//
|
17
|
// You should have received a copy of both GPLv3 and Asshole license 1.0
|
18
|
// together with this code. If not, please see:
|
19
|
// - https://www.gnu.org/licenses/gpl-3.0.en.html
|
20
|
// - https://koszko.org/asshole-license.txt
|
21
|
|
22
|
{
|
23
|
"manifest_version": 2,
|
24
|
"name": "My extension",
|
25
|
"short_name": "Myext",
|
26
|
"version": "0.0.0",
|
27
|
|
28
|
// WARNING!!!
|
29
|
// EACH USER SHOULD REPLACE "key" WITH UNIQUE VALUE!!!
|
30
|
// OTHERWISE SECURITY CAN BE TRIVIALLY COMPROMISED!
|
31
|
//
|
32
|
// A unique key can be generated with:
|
33
|
// $ ssh-keygen -f /path/to/new/key.pem -t rsa -b 1024
|
34
|
//
|
35
|
// Only relevant to users of chrome-based browsers.
|
36
|
// Users of FireFox forks are safe.
|
37
|
|
38
|
"key": "b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAlwAAAAdzc2gtcnNhAAAAAwEAAQAAAIEA+0GT5WNmRRo8e5tL9+BmNtY6aBPwLIgbPnLShYBMSR40iYwLTsccrkwBXb3bs1o4p6q5WJugI8Lsia+GXZc/XHGFkq7D1aWiTxlJLs8z0JC2TQ2/yatYmBMchogYGeeUfP7aI7JJZwpATts+VhIvgga/4FYj+DijMIEpwdckqFEAAAII4Dh7HOA4exwAAAAHc3NoLXJzYQAAAIEA+0GT5WNmRRo8e5tL9+BmNtY6aBPwLIgbPnLShYBMSR40iYwLTsccrkwBXb3bs1o4p6q5WJugI8Lsia+GXZc/XHGFkq7D1aWiTxlJLs8z0JC2TQ2/yatYmBMchogYGeeUfP7aI7JJZwpATts+VhIvgga/4FYj+DijMIEpwdckqFEAAAADAQABAAAAgEHB5/MhEKMFOs8e1cMJ97ZiWubiUPlWpcqyQmauLUj1nspg3JTBh8AWJEVkaxuFgU5gYCHQmRjC6yUdywyziOEkFA4r/WpX4WmbIe+GQHRHhitLN0dgF8N6/fVNOoa5StTdfZqyl23pVXyepoDNjrJFKyupqPMmpwfH5lGr9RwBAAAAQG76HflB/5j8P2YgIYX6dQT4Ei0SqiIjNVy7jFJUQDKSJg/PYkedE02JZJBJPcMYxEJUxXtMgq+upamNILfkmY0AAABBAP4v0O5dqjy16xDDFzb4DPNAcw5Za9KJaXKVkUuKXMNZOKTR0RC/upjNTmttY980RKdIx5zA25dO8cx563bSDIsAAABBAP0MaOpBiai/eRmLqhlthHODa+Mur6W3uc9PyhWhgDBjLNMR/doaYeyfVKxtIiN3a+HkN++G+vbokRweQv++bhMAAAANdXJ6QGxvY2FsaG9zdAECAwQFBg==",
|
39
|
"author": "various",
|
40
|
"description": "Kill the web&js",
|
41
|
"applications": {
|
42
|
"gecko": {
|
43
|
"id": "{6fe13369-88e9-440f-b837-5012fb3bedec}",
|
44
|
"strict_min_version": "60.0"
|
45
|
}
|
46
|
},
|
47
|
"icons":{
|
48
|
"64": "icons/myext.png"
|
49
|
},
|
50
|
"permissions": [
|
51
|
"contextMenus",
|
52
|
"webRequest",
|
53
|
"webRequestBlocking",
|
54
|
"activeTab",
|
55
|
"notifications",
|
56
|
"sessions",
|
57
|
"storage",
|
58
|
"tabs",
|
59
|
"<all_urls>"
|
60
|
],
|
61
|
"browser_action": {
|
62
|
"browser_style": true,
|
63
|
"default_icon": {
|
64
|
"64": "icons/myext.png"
|
65
|
},
|
66
|
"default_title": "Myext",
|
67
|
"default_popup": "html/display-panel.html"
|
68
|
},
|
69
|
"options_ui": {
|
70
|
"page": "html/options.html",
|
71
|
"open_in_tab": true
|
72
|
},
|
73
|
"web_accessible_resources": [
|
74
|
],
|
75
|
"background": {
|
76
|
"page": "background/background.html"
|
77
|
},
|
78
|
"content_scripts": [
|
79
|
{
|
80
|
"run_at": "document_start",
|
81
|
"matches": ["<all_urls>"],
|
82
|
"match_about_blank": true,
|
83
|
"all_frames": true,
|
84
|
"js": [
|
85
|
"common/browser.js",
|
86
|
"common/connection_types.js",
|
87
|
"content/page_actions.js",
|
88
|
"common/url_item.js",
|
89
|
"common/sha256.js",
|
90
|
"common/gen_unique.js",
|
91
|
"content/main.js"
|
92
|
]
|
93
|
}
|
94
|
]
|
95
|
}
|