mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 06:27:48 +01:00
Fix WSJ (no Googlebot)
This commit is contained in:
parent
4947b58a38
commit
1dcf13b7b5
4 changed files with 12 additions and 2 deletions
|
@ -5,6 +5,7 @@ Post-release
|
||||||
Add Architectural Digest (Conde Nast)
|
Add Architectural Digest (Conde Nast)
|
||||||
Fix ABC.es (mobile)
|
Fix ABC.es (mobile)
|
||||||
Fix Knack.be & LeVif.be (subdomains-text)
|
Fix Knack.be & LeVif.be (subdomains-text)
|
||||||
|
Fix WSJ (no Googlebot)
|
||||||
|
|
||||||
* v2.7.4.0 (2022-07-03)
|
* v2.7.4.0 (2022-07-03)
|
||||||
Add Beobachter.ch
|
Add Beobachter.ch
|
||||||
|
|
|
@ -3936,7 +3936,7 @@ else if (matchDomain('wsj.com')) {
|
||||||
masthead_link.href = 'https://www.wsj.com';
|
masthead_link.href = 'https://www.wsj.com';
|
||||||
amp_unhide_subscr_section();
|
amp_unhide_subscr_section();
|
||||||
} else {
|
} else {
|
||||||
let snippet = document.querySelector('.snippet-promotion');
|
let snippet = document.querySelector('.snippet-promotion, div#cx-snippet-overlay');
|
||||||
let wsj_pro = document.querySelector('meta[name="page.site"][content="wsjpro"]');
|
let wsj_pro = document.querySelector('meta[name="page.site"][content="wsjpro"]');
|
||||||
if (snippet || wsj_pro) {
|
if (snippet || wsj_pro) {
|
||||||
removeDOMElement(snippet, wsj_pro);
|
removeDOMElement(snippet, wsj_pro);
|
||||||
|
|
|
@ -689,5 +689,5 @@
|
||||||
"*://*.wsj.net/*",
|
"*://*.wsj.net/*",
|
||||||
"*://webcache.googleusercontent.com/*"
|
"*://webcache.googleusercontent.com/*"
|
||||||
],
|
],
|
||||||
"version": "2.7.4.3"
|
"version": "2.7.4.4"
|
||||||
}
|
}
|
||||||
|
|
|
@ -154,5 +154,14 @@
|
||||||
"domain": "thebanker.com",
|
"domain": "thebanker.com",
|
||||||
"useragent": "googlebot",
|
"useragent": "googlebot",
|
||||||
"new_site": 1
|
"new_site": 1
|
||||||
|
},
|
||||||
|
"The Wall Street Journal": {
|
||||||
|
"domain": "wsj.com",
|
||||||
|
"allow_cookies": 1,
|
||||||
|
"block_regex": "(cdn\\.cxense\\.com\\/|cdn\\.ampproject\\.org\\/v\\d\\/amp-(access|subscriptions)-.+\\.js)",
|
||||||
|
"useragent": "googlebot",
|
||||||
|
"amp_redirect": {
|
||||||
|
"paywall": ".snippet-promotion, div#cx-snippet-overlay"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue