mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 07:27:48 +01:00
Fix-update Folha de S. Paulo (MatherAnalytics)
This commit is contained in:
parent
cbd73db75a
commit
d437eb9e64
5 changed files with 7 additions and 3 deletions
|
@ -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/,
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
Changelog Bypass Paywalls Clean - Firefox
|
||||
|
||||
Post-release
|
||||
Fix-update Folha de S. Paulo (MatherAnalytics)
|
||||
Fix-update WSJ (mobile layout)
|
||||
Update custom sites: allow_cookies
|
||||
|
||||
|
|
|
@ -341,5 +341,5 @@
|
|||
"webRequest",
|
||||
"webRequestBlocking"
|
||||
],
|
||||
"version": "1.9.4.2"
|
||||
"version": "1.9.4.3"
|
||||
}
|
|
@ -7,6 +7,7 @@
|
|||
<style>
|
||||
body {
|
||||
font-size: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
div {
|
||||
margin: 10px;
|
||||
|
|
|
@ -15,7 +15,8 @@ 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;
|
||||
if (manifestData.applications.gecko.id.includes('magnolia'))
|
||||
|
@ -24,6 +25,7 @@ fetch(manifest_new)
|
|||
anchorEl.href = 'https://addons.mozilla.org/en-US/firefox/addon/bypass-paywalls-clean';
|
||||
anchorEl.target = '_blank';
|
||||
versionString_new.appendChild(anchorEl);
|
||||
versionString_new.appendChild(document.createTextNode(' *'));
|
||||
if (manifestData.name.includes('(lp')) {
|
||||
let par = document.createElement('p');
|
||||
par.innerHTML = "<strong>Limited permissions version is no longer updated (check BitBucket)</strong>";
|
||||
|
|
Loading…
Reference in a new issue