Release v1.9.0.2

merge-requests/1/head v1.9.0.2
magnolia1234 4 years ago
parent 9bd832d44c
commit 6b9bfc9dc5

@ -738,7 +738,7 @@ ext_api.webRequest.onCompleted.addListener(function (details) {
continue; // only remove specific cookie
}
ext_api.cookies.remove({
url: (cookie.secure ? "https://" : "http://") + cookie.domain + cookie.path,
url: (cookie.secure ? "https://" : "http://") + rc_domain + cookie.path,
name: cookie.name
});
}

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg fill="currentColor" width="1em" height="1em" viewBox="0 0 40 40" preserveAspectRatio="xMidYMid meet" style="vertical-align:middle;display:inline-block;" data-reactid=".0.4:$/=10.2.0">
<g data-reactid=".0.4:$/=10.2.0.0">
<path d="m20 12.5h-7.5v7.5h7.5v-7.5z m2.5 12.5v2.5h-12.5v-2.5h12.5z m0-15v12.5h-12.5v-12.5h12.5z m12.5 15v2.5h-10v-2.5h10z m0-5v2.5h-10v-2.5h10z m0-5v2.5h-10v-2.5h10z m0-5v2.5h-10v-2.5h10z m-30 18.75v-18.75h-2.5v18.75q0 0.5075000000000003 0.37124999999999986 0.8787500000000001t0.8787500000000001 0.37124999999999986 0.8787500000000001-0.37124999999999986 0.37124999999999986-0.8787500000000001z m32.5 0v-21.25h-30v21.25q0 0.6449999999999996-0.21499999999999986 1.25h28.965q0.5075000000000003 0 0.8787499999999966-0.37124999999999986t0.3712500000000034-0.8787500000000001z m2.5-23.75v23.75q0 1.5625-1.09375 2.65625t-2.65625 1.09375h-32.5q-1.5625 0-2.65625-1.09375t-1.09375-2.65625v-21.25h5v-2.5h35z" data-reactid=".0.4:$/=10.2.0.0.0"></path>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.0 KiB

@ -2,6 +2,8 @@
Changelog Bypass Paywalls Clean - Firefox
Post-release
* v1.9.0.2 (2020-10-14)
Fix-update MIT Sloan Management Review (modal)
Default limited permissions (opt-in custom sites)
Option to clear cookies & local storage (of site)

@ -718,7 +718,7 @@ else if (matchDomain('faz.net')) {
article_text.innerText = '';
const breakText = (str) => {
str = str.replace(/(?:^|[\w\"\“])(\.|\?|!)(?=[A-Z\„][A-Za-zÀ-ÿ\„]{1,})/gm, "$&\n\n");
str = str.replace(/(?:^|[\w\"\“])(\.|\?|!)(?=[A-ZÖÜ\„][A-Za-zÀ-ÿ\„]{1,})/gm, "$&\n\n");
str = str.replace(/([a-z\"\“])(?=[A-Z](?=[A-Za-zÀ-ÿ]+))/gm, "$&\n\n");
// exceptions: names with alternating lower/uppercase (no general fix)
str = str.replace(/Glaxo\n\nSmith\n\nKline/g, "GlaxoSmithKline");

@ -36,6 +36,7 @@
<div style='float:right'>
<small><button><a href="../options.html" style="text-decoration:none;color:inherit">Options</a></button></small>
<small><button><a href="../options_custom.html" style="text-decoration:none;color:inherit">Custom sites</a></button></small>
<small><button id="button-close">Close</button></small>
</div>
</p>
</body>

@ -33,6 +33,15 @@ window.addEventListener("load", function () {
}, 800);
});
document.getElementById("button-close").addEventListener(
"click",
function () {
ext_api.storage.sync.set({
"optInShown": true
});
window.close();
});
var custom_enabled = document.getElementById('custom-enabled');
ext_api.permissions.contains({
origins: ["<all_urls>"]

@ -2,8 +2,8 @@
"addons": {
"magnolia@12.34": {
"updates": [
{ "version": "1.9.0.0",
"update_link": "https://bitbucket.org/magnolia1234/bypass-paywalls-firefox-clean/downloads/bypass_paywalls_clean-1.9.0.0.xpi" }
{ "version": "1.9.0.2",
"update_link": "https://bitbucket.org/magnolia1234/bypass-paywalls-firefox-clean/downloads/bypass_paywalls_clean-1.9.0.2.xpi" }
]
}
}

@ -2,8 +2,8 @@
"addons": {
"magnolia_limited_permissions@12.34": {
"updates": [
{ "version": "1.9.0.0",
"update_link": "https://bitbucket.org/magnolia1234/bypass-paywalls-firefox-clean/downloads/bypass_paywalls_clean_lp-1.9.0.0.xpi" }
{ "version": "1.9.0.2",
"update_link": "https://bitbucket.org/magnolia1234/bypass-paywalls-firefox-clean/downloads/bypass_paywalls_clean_lp-1.9.0.2.xpi" }
]
}
}

@ -21,6 +21,11 @@ fetch(manifest_new)
anchorEl.href = 'https://bitbucket.org/magnolia1234/bypass-paywalls-firefox-clean/downloads';
anchorEl.target = '_blank';
versionString_new.appendChild(anchorEl);
if (manifestData.name.includes('(lp')) {
let par = document.createElement('p');
par.innerHTML = "<strong>Limited permissions version is no longer updated (check BitBucket)</strong>";
versionString_new.appendChild(par);
}
if (!manifestData.name.includes('Clean')) {
let par = document.createElement('p');
par.innerHTML = "<strong>You've installed a fake version of BPC (check BitBucket)</strong>";

Loading…
Cancel
Save