-
Notifications
You must be signed in to change notification settings - Fork 0
/
manifest.json
123 lines (123 loc) · 3.48 KB
/
manifest.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"manifest_version": 2,
"default_locale": "en",
"name": "__MSG_extensionName__",
"description": "__MSG_extensionDescription__",
"version": "5.3.4",
"homepage_url": "https://github.com/odebroqueville/contextSearch",
"author": "Olivier de Broqueville",
"browser_specific_settings": {
"gecko": {
"id": "[email protected]",
"strict_min_version": "112.0"
}
},
"content_security_policy": "script-src 'self'; object-src 'self'; img-src 'self' data:;",
"browser_action": {
"default_icon": "/icons/bookmark-grey-icon.svg",
"default_title": "Bookmark the active tab to Context Search"
},
"page_action": {
"show_matches": [
"<all_urls>"
],
"hide_matches": [
"*://accounts-static.cdn.mozilla.net/*",
"*://accounts.firefox.com/*",
"*://addons.cdn.mozilla.net/*",
"*://addons.mozilla.org/*",
"*://api.accounts.firefox.com/*",
"*://content.cdn.mozilla.net/*",
"*://discovery.addons.mozilla.org/*",
"*://install.mozilla.org/*",
"*://oauth.accounts.firefox.com/*",
"*://profile.accounts.firefox.com/*",
"*://support.mozilla.org/*",
"*://sync.services.mozilla.com/*"
],
"browser_style": false,
"default_icon": "/icons/context-search.svg",
"default_title": "Add search engine to Context Search"
},
"sidebar_action": {
"browser_style": false,
"default_icon": "/icons/context-search.svg",
"default_title": "Search results",
"default_panel": "/html/search_results.html",
"open_at_install": false
},
"background": {
"scripts": [
"/scripts/background-cs.js",
"/scripts/favicons.js",
"/scripts/hosts.js"
],
"type": "module"
},
"permissions": [
"<all_urls>",
"activeTab",
"menus",
"storage",
"search",
"tabs",
"webRequest",
"webRequestBlocking"
],
"optional_permissions": [
"bookmarks",
"clipboardWrite",
"downloads",
"history",
"nativeMessaging",
"notifications"
],
"omnibox": {
"keyword": "cs"
},
"commands": {
"launch-icons-grid": {
"suggested_key": {
"default": "Alt+Shift+G"
},
"description": "Launch the icons grid"
},
"open-popup": {
"suggested_key": {
"default": "Ctrl+Alt+0",
"mac": "Command+Alt+0"
},
"description": "Open the popup window"
}
},
"icons": {
"16": "icons/icon_16.png",
"20": "icons/icon_20.png",
"24": "icons/icon_24.png",
"32": "icons/icon_32.png",
"48": "icons/icon_48.png",
"64": "icons/icon_64.png",
"128": "icons/icon_128.png",
"256": "icons/icon_256.png",
"512": "icons/icon_512.png"
},
"options_ui": {
"page": "/html/options.html",
"open_in_tab": true,
"browser_style": true
},
"content_scripts": [
{
"matches": [
"http://*/*",
"https://*/*"
],
"exclude_matches": [
"https://paypal.com/*"
],
"js": [
"/scripts/selection.js"
]
}
]
}