Fix-update Folha de S. Paulo (MatherAnalytics)

This commit is contained in:
magnolia1234 2020-11-12 09:22:58 +01:00
parent 7db8fc2507
commit 29fe0206b7
5 changed files with 7 additions and 3 deletions

View File

@ -196,7 +196,7 @@ var blockedRegexes = {
'elmundo.es': /cdn\.ampproject\.org\/v\d\/amp-access-.+\.js/,
'elpais.com': /.+\.epimg\.net\/js\/.+\/noticia\.min\.js/,
'exame.abril.com.br': /.+\.tinypass\.com\/.+/,
'folha.uol.com.br': /.+\.folha\.uol\.com\.br\/paywall\/js\/.+\/publicidade\.ads\.js/,
'folha.uol.com.br': /(.+\.folha\.uol\.com\.br\/paywall\/js\/.+\/publicidade\.ads\.js|js\.matheranalytics\.com\/.+)/,
'gelocal.it': /cdn\.ampproject\.org\/v\d\/amp-access-.+\.js/,
'globo.com': /.+\.tinypass\.com\/.+/,
'foreignaffairs.com': /.+\.foreignaffairs\.com\/sites\/default\/files\/js\/js_P9zr.+\.js/,

View File

@ -2,6 +2,7 @@
Changelog Bypass Paywalls Clean - Chrome
Post-release
Fix-update Folha de S. Paulo (MatherAnalytics)
Fix-update WSJ (mobile layout)
Update custom sites: allow_cookies

View File

@ -328,5 +328,5 @@
"webRequest",
"webRequestBlocking"
],
"version": "1.9.4.2"
"version": "1.9.4.3"
}

View File

@ -7,6 +7,7 @@
<style>
body {
font-size: 100%;
text-align: center;
}
div {
margin: 10px;

View File

@ -15,12 +15,14 @@ fetch(manifest_new)
var version_new = json['version'];
if (version_new.substring(0, version_len) > manifestData.version.substring(0, version_len)) {
var versionString_new = document.getElementById('version_new');
versionString_new.appendChild(document.createTextNode(' * '));
versionString_new.setAttribute('style', 'font-weight: bold;');
versionString_new.appendChild(document.createTextNode('* '));
var anchorEl = document.createElement('a');
anchorEl.text = 'New release v' + version_new;
anchorEl.href = 'https://bitbucket.org/magnolia1234/bypass-paywalls-chrome-clean/downloads';
anchorEl.target = '_blank';
versionString_new.appendChild(anchorEl);
versionString_new.appendChild(document.createTextNode(' *'));
if (!manifestData.name.includes('Clean')) {
let par = document.createElement('p');
par.innerHTML = "<strong>You've installed a fake version of BPC (check BitBucket)</strong>";