mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 03:21:58 +01:00
Fix Estadao.com.br (js)
This commit is contained in:
parent
fb0e2ffaaf
commit
098e721e63
6 changed files with 12 additions and 4 deletions
|
@ -5,6 +5,7 @@ Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywal
|
|||
Post-release
|
||||
Remove Mediahuis Nederland Regional (fix obsolete)
|
||||
Fix BusinessPost.ie (js)
|
||||
Fix Estadao.com.br (js)
|
||||
Fix NyTeknik.se
|
||||
Fix Tuttosport (image)
|
||||
|
||||
|
|
|
@ -3264,7 +3264,7 @@ else if (matchDomain('em.com.br')) {
|
|||
|
||||
else if (matchDomain('estadao.com.br')) {
|
||||
if (window.location.pathname.match(/(\.amp$|^\/amp\/)/) || window.location.search.startsWith('?amp')) {
|
||||
amp_unhide_access_hide('="outputValue=\'hide_paywall\'"', '="outputValue=\'show_paywall\'"', 'amp-ad, amp-embed, amp-fx-flying-carpet, div[class^="pAd"]');
|
||||
amp_unhide_access_hide('="outputValue=\'hide_paywall\'"', '="outputValue=\'show_paywall\'"', 'amp-ad, amp-embed, amp-fx-flying-carpet, div[class^="pAd"], div.ads-container');
|
||||
} else {
|
||||
let paywall = document.getElementById('paywall-wrapper-iframe-estadao');
|
||||
removeDOMElement(paywall);
|
||||
|
|
|
@ -51,5 +51,5 @@
|
|||
"webRequestBlocking",
|
||||
"*://*/*"
|
||||
],
|
||||
"version": "3.3.7.3"
|
||||
"version": "3.3.7.4"
|
||||
}
|
||||
|
|
|
@ -797,5 +797,5 @@
|
|||
"*://*.wyleex.com/*",
|
||||
"*://webcache.googleusercontent.com/*"
|
||||
],
|
||||
"version": "3.3.7.3"
|
||||
"version": "3.3.7.4"
|
||||
}
|
||||
|
|
3
sites.js
3
sites.js
|
@ -1665,7 +1665,8 @@ var defaultSites = {
|
|||
},
|
||||
"O Estado de S. Paulo": {
|
||||
domain: "estadao.com.br",
|
||||
block_regex: /(acesso\.estadao\.com\.br\/paywall\/.+\/.+\.js|cdn\.ampproject\.org\/v\d\/amp-(access|subscriptions)-.+\.js)/
|
||||
allow_cookies: 1,
|
||||
block_regex: /(\.estadao\.com\.br\/(paywall\/|access\.js)|cdn\.ampproject\.org\/v\d\/amp-(access|subscriptions)-.+\.js)/
|
||||
},
|
||||
"O Globo (& Valor Econômico)": {
|
||||
domain: "globo.com",
|
||||
|
|
|
@ -39,6 +39,12 @@
|
|||
"useragent": "googlebot",
|
||||
"upd_version": "3.3.5.1"
|
||||
},
|
||||
"O Estado de S. Paulo": {
|
||||
"domain": "estadao.com.br",
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "(\\.estadao\\.com\\.br\\/(paywall\\/|access\\.js)|cdn\\.ampproject\\.org\\/v\\d\\/amp-(access|subscriptions)-.+\\.js)",
|
||||
"upd_version": "3.3.7.4"
|
||||
},
|
||||
"Granta Magazine": {
|
||||
"domain": "granta.com",
|
||||
"allow_cookies": 1,
|
||||
|
|
Loading…
Reference in a new issue