Prepare v1.6.6.2

Update manifest.json: limit contentScript.s to enabled sites & add/show default content security policy (CSP).
merge-requests/1/head
magnolia1234 4 years ago committed by GitHub
parent 18570ee92c
commit 2c887dd31e

@ -12,7 +12,7 @@
* [License](#license)
### Installation
[Download and install the latest version](https://github.com/magnolia1234/bypass-paywalls-firefox-clean/releases/download/v1.6.6.1/bypass_paywalls_clean-1.6.6.1-an+fx.xpi)\
[Download and install the latest version](https://github.com/magnolia1234/bypass-paywalls-firefox-clean/releases/download/v1.6.6.2/bypass_paywalls_clean-1.6.6.2-an+fx.xpi)\
Or first visit the [releases page](https://github.com/magnolia1234/bypass-paywalls-firefox-clean/releases).\
Install add-on by downloading xpi-file (assets).

@ -1,48 +1,43 @@
{
"background": {
"scripts": ["sites.js", "background.js"]
},
"content_scripts": [
{
"matches": ["<all_urls>"],
"js": ["contentScript.js"]
}
],
"applications": {
"gecko": {
"id": "magnolia@12.34",
"update_url": "https://raw.githubusercontent.com/magnolia1234/bypass-paywalls-firefox-clean/master/updates.json"
}
},
"browser_action": {
"default_popup": "popup.html",
"default_icon": {
"128": "bypass.png"
},
"theme_icons": [
{
"light": "bypass-dark.png",
"dark": "bypass.png",
"size": 128
}
]
},
"description": "Bypass News Sites' Paywalls",
"icons": {
"128": "bypass.png"
},
"manifest_version": 2,
"name": "Bypass Paywalls Clean",
"short_name": "Bypass Paywall",
"options_ui": {
"page": "options.html"
},
"permissions": [
"cookies",
"<all_urls>",
"storage",
"webRequest",
"webRequestBlocking"
],
"version": "1.6.6.1"
{
"background": {
"scripts": ["sites.js", "background.js"]
},
"content_security_policy": "script-src 'self'; object-src 'self'",
"applications": {
"gecko": {
"id": "magnolia@12.34",
"update_url": "https://raw.githubusercontent.com/magnolia1234/bypass-paywalls-firefox-clean/master/updates.json"
}
},
"browser_action": {
"default_popup": "popup.html",
"default_icon": {
"128": "bypass.png"
},
"theme_icons": [
{
"light": "bypass-dark.png",
"dark": "bypass.png",
"size": 128
}
]
},
"description": "Bypass News Sites' Paywalls",
"icons": {
"128": "bypass.png"
},
"manifest_version": 2,
"name": "Bypass Paywalls Clean",
"short_name": "Bypass Paywall",
"options_ui": {
"page": "options.html"
},
"permissions": [
"cookies",
"<all_urls>",
"storage",
"webRequest",
"webRequestBlocking"
],
"version": "1.6.6.2"
}

@ -1,13 +1,13 @@
{
"addons": {
"magnolia@12.34": {
"updates": [
{ "version": "1.6.4.4",
"update_link": "https://github.com/magnolia1234/bypass-paywalls-firefox-clean/releases/download/v1.6.4.4/bypass_paywalls_clean-1.6.4.4-an+fx.xpi" },
{ "version": "1.6.6.1",
"update_link": "https://github.com/magnolia1234/bypass-paywalls-firefox-clean/releases/download/v1.6.6.1/bypass_paywalls_clean-1.6.6.1-an+fx.xpi" }
]
}
}
}
{
"addons": {
"magnolia@12.34": {
"updates": [
{ "version": "1.6.6.1",
"update_link": "https://github.com/magnolia1234/bypass-paywalls-firefox-clean/releases/download/v1.6.6.1/bypass_paywalls_clean-1.6.6.1-an+fx.xpi" },
{ "version": "1.6.6.2",
"update_link": "https://github.com/magnolia1234/bypass-paywalls-firefox-clean/releases/download/v1.6.6.2/bypass_paywalls_clean-1.6.6.2-an+fx.xpi" }
]
}
}
}

Loading…
Cancel
Save