mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 06:07:47 +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)
|
||||
Fix ABC.es (mobile)
|
||||
Fix Knack.be & LeVif.be (subdomains-text)
|
||||
Fix WSJ (no Googlebot)
|
||||
|
||||
* v2.7.4.0 (2022-07-03)
|
||||
Add Beobachter.ch
|
||||
|
|
|
@ -3936,7 +3936,7 @@ else if (matchDomain('wsj.com')) {
|
|||
masthead_link.href = 'https://www.wsj.com';
|
||||
amp_unhide_subscr_section();
|
||||
} 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"]');
|
||||
if (snippet || wsj_pro) {
|
||||
removeDOMElement(snippet, wsj_pro);
|
||||
|
|
|
@ -689,5 +689,5 @@
|
|||
"*://*.wsj.net/*",
|
||||
"*://webcache.googleusercontent.com/*"
|
||||
],
|
||||
"version": "2.7.4.3"
|
||||
"version": "2.7.4.4"
|
||||
}
|
||||
|
|
|
@ -154,5 +154,14 @@
|
|||
"domain": "thebanker.com",
|
||||
"useragent": "googlebot",
|
||||
"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