Revision 4c6a2323
Added by koszko over 1 year ago
manifest.json | ||
---|---|---|
1 |
// SPDX-License-Identifier: CC0-1.0 |
|
2 |
// |
|
1 | 3 |
// This is the manifest file of Haketilo. |
2 | 4 |
// |
3 |
// Copyright (C) 2021 Wojtek Kosior
|
|
5 |
// Copyright (C) 2021,2022 Wojtek Kosior <koszko@koszko.org>
|
|
4 | 6 |
// |
5 | 7 |
// This program is free software: you can redistribute it and/or modify |
6 | 8 |
// it under the terms of the CC0 1.0 Universal License as published by |
... | ... | |
20 | 22 |
"manifest_version": 2, |
21 | 23 |
#ELIF MV3 |
22 | 24 |
"manifest_version": 3, |
25 |
#ERROR Manifest version 3 is not yet supported! Please define 'MV2'. |
|
23 | 26 |
#ELSE |
24 | 27 |
#ERROR Manifest version not selected! Please define 'MV2'. |
25 | 28 |
#ENDIF |
26 | 29 |
"name": "Haketilo", |
27 | 30 |
"short_name": "Haketilo", |
28 |
"version": "0.1",
|
|
31 |
"version": "0.999",
|
|
29 | 32 |
"author": "Wojtek Kosior & contributors", |
30 | 33 |
"description": "Control your \"Web\" browsing.", |
31 | 34 |
#IF MOZILLA |
... | ... | |
49 | 52 |
"16": "icons/haketilo16.png" |
50 | 53 |
}, |
51 | 54 |
"permissions": [ |
52 |
"contextMenus", |
|
53 | 55 |
"webRequest", |
54 | 56 |
"webRequestBlocking", |
55 |
"activeTab", |
|
56 |
"notifications", |
|
57 |
"sessions", |
|
58 |
"storage", |
|
59 | 57 |
"tabs", |
60 | 58 |
"<all_urls>", |
61 | 59 |
"unlimitedStorage" |
... | ... | |
70 | 68 |
"16": "icons/haketilo16.png" |
71 | 69 |
}, |
72 | 70 |
"default_title": "Haketilo", |
73 |
#LOADHTML html/display_panel.html
|
|
74 |
"default_popup": "html/display_panel.html"
|
|
71 |
#LOADHTML html/popup.html
|
|
72 |
"default_popup": "html/popup.html"
|
|
75 | 73 |
}, |
76 | 74 |
"options_ui": { |
77 |
#LOADHTML html/options.html |
|
78 |
"page": "html/options.html", |
|
79 |
"open_in_tab": true |
|
75 |
#LOADHTML html/settings.html |
|
76 |
"page": "html/settings.html", |
|
77 |
"open_in_tab": true, |
|
78 |
"browser_style": false |
|
80 | 79 |
}, |
81 | 80 |
#COPY_FILE dummy |
82 | 81 |
"web_accessible_resources": ["dummy"], |
83 | 82 |
"background": { |
84 | 83 |
"persistent": true, |
85 | 84 |
"scripts": [ |
86 |
#LOADJS background/main.js
|
|
85 |
#LOADJS background/background.js
|
|
87 | 86 |
] |
88 | 87 |
}, |
89 | 88 |
"content_scripts": [ |
90 | 89 |
{ |
91 | 90 |
"run_at": "document_start", |
92 | 91 |
"matches": ["<all_urls>"], |
93 |
"match_about_blank": true, |
|
94 | 92 |
"all_frames": true, |
95 | 93 |
"js": [ |
96 |
#LOADJS content/main.js
|
|
94 |
#LOADJS content/content.js
|
|
97 | 95 |
] |
98 | 96 |
} |
99 | 97 |
] |
Also available in: Unified diff
make Haketilo buildable again (for Mozilla)
How cool it is to throw away 5755 lines of code...