mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 06:57:48 +01:00
Fix Folha de S. Paulo (piaui)
This commit is contained in:
parent
2a1b1ab831
commit
089b812e81
5 changed files with 38 additions and 5 deletions
|
@ -5,6 +5,7 @@ Post-release
|
||||||
Add Saltwire Network (Canada)
|
Add Saltwire Network (Canada)
|
||||||
Add StuDocu (no downloads)
|
Add StuDocu (no downloads)
|
||||||
Remove The Ken (fix not working)
|
Remove The Ken (fix not working)
|
||||||
|
Fix Folha de S. Paulo (piaui)
|
||||||
Fix Foreign Affairs (js)
|
Fix Foreign Affairs (js)
|
||||||
Fix Krautreporter.de
|
Fix Krautreporter.de
|
||||||
Fix Le Devoir (cookie)
|
Fix Le Devoir (cookie)
|
||||||
|
|
|
@ -2389,11 +2389,24 @@ else if (matchDomain('estadao.com.br')) {
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (matchDomain('folha.uol.com.br')) {
|
else if (matchDomain('folha.uol.com.br')) {
|
||||||
if (window.location.pathname.startsWith('/amp/')) {
|
if (matchDomain('piaui.folha.uol.com.br')) {
|
||||||
amp_unhide_subscr_section('amp-ad, amp-sticky-ad, amp-embed');
|
if (window.location.search.startsWith('?amp')) {
|
||||||
|
amp_unhide_subscr_section();
|
||||||
|
} else {
|
||||||
|
let paywall = document.querySelector('.revista--interna__assineonly');
|
||||||
|
let amphtml = document.querySelector('link[rel="amphtml"]');
|
||||||
|
if (paywall && amphtml) {
|
||||||
|
removeDOMElement(paywall);
|
||||||
|
window.location.href = amphtml.href;
|
||||||
|
}
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
let signup = document.querySelector('.c-top-signup');
|
if (window.location.pathname.startsWith('/amp/')) {
|
||||||
removeDOMElement(signup);
|
amp_unhide_subscr_section('amp-ad, amp-sticky-ad, amp-embed');
|
||||||
|
} else {
|
||||||
|
let signup = document.querySelector('.c-top-signup');
|
||||||
|
removeDOMElement(signup);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -61,6 +61,11 @@
|
||||||
"block_regex": "\\.tinypass\\.com\\/",
|
"block_regex": "\\.tinypass\\.com\\/",
|
||||||
"domain": "heraldscotland.com"
|
"domain": "heraldscotland.com"
|
||||||
},
|
},
|
||||||
|
"Inews.co.uk": {
|
||||||
|
"allow_cookies": 1,
|
||||||
|
"block_regex": "\\.tinypass\\.com\\/",
|
||||||
|
"domain": "inews.co.uk"
|
||||||
|
},
|
||||||
"Internationalepolitik.de": {
|
"Internationalepolitik.de": {
|
||||||
"allow_cookies": 1,
|
"allow_cookies": 1,
|
||||||
"domain": "internationalepolitik.de"
|
"domain": "internationalepolitik.de"
|
||||||
|
|
|
@ -694,5 +694,5 @@
|
||||||
"*://*.wsj.net/*",
|
"*://*.wsj.net/*",
|
||||||
"*://webcache.googleusercontent.com/*"
|
"*://webcache.googleusercontent.com/*"
|
||||||
],
|
],
|
||||||
"version": "2.7.6.6"
|
"version": "2.7.6.7"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,18 @@
|
||||||
{
|
{
|
||||||
|
"Folha de S. Paulo": {
|
||||||
|
"domain": "###_br_folha",
|
||||||
|
"group": [
|
||||||
|
"folha.uol.com.br",
|
||||||
|
"blogfolha.uol.com.br"
|
||||||
|
],
|
||||||
|
"allow_cookies": 1,
|
||||||
|
"block_regex": "(\\.folha\\.uol\\.com\\.br\\/paywall\\/js\\/|paywall\\.folha\\.uol\\.com\\.br\\/|js\\.matheranalytics\\.com\\/|cdn\\.ampproject\\.org\\/v\\d\\/amp-subscriptions-.+\\.js)",
|
||||||
|
"useragent": "googlebot",
|
||||||
|
"amp_redirect": {
|
||||||
|
"paywall": ".revista--interna__assineonly"
|
||||||
|
},
|
||||||
|
"amp_unhide": 1
|
||||||
|
},
|
||||||
"Foreign Affairs": {
|
"Foreign Affairs": {
|
||||||
"domain": "foreignaffairs.com",
|
"domain": "foreignaffairs.com",
|
||||||
"block_regex": "\\.foreignaffairs\\.com\\/modules\\/custom\\/fa_paywall_js\\/js\\/paywall\\.js"
|
"block_regex": "\\.foreignaffairs\\.com\\/modules\\/custom\\/fa_paywall_js\\/js\\/paywall\\.js"
|
||||||
|
|
Loading…
Reference in a new issue