-
-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Both MV2 and MV3 are built for Chromium. Only MV2 for Firefox for now (until Service Workers are supported as backgroundscript.js).
- Loading branch information
Showing
10 changed files
with
365 additions
and
287 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{ | ||
"manifest_version": 2, | ||
"manifest_version": 3, | ||
"name": "Kiwix", | ||
"version": "3.8.1", | ||
|
||
"description": "Kiwix : offline Wikipedia reader", | ||
"description": "Kiwix Offline Browser", | ||
|
||
"icons": { | ||
"16": "www/img/icons/kiwix-16.png", | ||
|
@@ -16,7 +16,7 @@ | |
"128": "www/img/icons/kiwix-128.png" | ||
}, | ||
|
||
"browser_action": { | ||
"action": { | ||
"default_icon": { | ||
"16": "www/img/icons/kiwix-16.png", | ||
"19": "www/img/icons/kiwix-19.png", | ||
|
@@ -26,22 +26,24 @@ | |
}, | ||
"default_title": "Kiwix" | ||
}, | ||
|
||
"applications": { | ||
"gecko": { | ||
"id": "[email protected]" | ||
} | ||
}, | ||
|
||
"web_accessible_resources": ["www/index.html"], | ||
|
||
"background": { | ||
"scripts": ["webextension/backgroundscript.js"] | ||
"service_worker": "service-worker.js" | ||
}, | ||
|
||
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'", | ||
"permissions": ["storage", "activeTab", "scripting"], | ||
|
||
"author": "mossroy", | ||
"content_security_policy": { | ||
"extension_pages": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self';", | ||
"sandbox": "sandbox allow-scripts allow-downloads allow-forms allow-popups allow-modals; script-src 'self' 'unsafe-inline' 'unsafe-eval'; child-src 'self';" | ||
}, | ||
|
||
"web_accessible_resources": [{ | ||
"resources": ["www/index.html", "www/article.html"], | ||
"matches": ["https://*.kiwix.org/*"] | ||
}], | ||
|
||
"author": "Kiwix", | ||
"homepage_url": "https://www.kiwix.org", | ||
"offline_enabled": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"manifest_version": 2, | ||
"name": "Kiwix", | ||
"version": "3.8.1", | ||
|
||
"description": "Kiwix : offline Wikipedia reader", | ||
|
||
"icons": { | ||
"16": "www/img/icons/kiwix-16.png", | ||
"19": "www/img/icons/kiwix-19.png", | ||
"32": "www/img/icons/kiwix-32.png", | ||
"38": "www/img/icons/kiwix-38.png", | ||
"48": "www/img/icons/kiwix-48.png", | ||
"64": "www/img/icons/kiwix-64.png", | ||
"90": "www/img/icons/kiwix-90.png", | ||
"128": "www/img/icons/kiwix-128.png" | ||
}, | ||
|
||
"browser_action": { | ||
"default_icon": { | ||
"16": "www/img/icons/kiwix-16.png", | ||
"19": "www/img/icons/kiwix-19.png", | ||
"32": "www/img/icons/kiwix-32.png", | ||
"38": "www/img/icons/kiwix-38.png", | ||
"64": "www/img/icons/kiwix-64.png" | ||
}, | ||
"default_title": "Kiwix" | ||
}, | ||
|
||
"applications": { | ||
"gecko": { | ||
"id": "[email protected]" | ||
} | ||
}, | ||
|
||
"web_accessible_resources": ["www/index.html"], | ||
|
||
"background": { | ||
"scripts": ["backgroundscript.js"] | ||
}, | ||
|
||
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'", | ||
|
||
"author": "mossroy", | ||
"homepage_url": "https://www.kiwix.org", | ||
"offline_enabled": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.