mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 03:21:58 +01:00
Fix WSJ (mobile)
This commit is contained in:
parent
2be782c2c9
commit
c307ae7913
3 changed files with 3 additions and 2 deletions
|
@ -979,7 +979,7 @@ if (matchUrlDomain(change_headers, details.url) && !ignore_types.includes(detail
|
|||
!(matchUrlDomain(['economictimes.com', 'economictimes.indiatimes.com'], details.url) && !details.url.split(/\?|#/)[0].endsWith('.cms')) &&
|
||||
!(matchUrlDomain(au_news_corp_domains, details.url) && (details.url.includes('?amp') || (!matchUrlDomain(au_news_corp_no_amp_fix, details.url) && enabledSites.includes('#options_disable_gb_au_news_corp')))) &&
|
||||
!(matchUrlDomain('uol.com.br', details.url) && !matchUrlDomain('folha.uol.com.br', details.url)) &&
|
||||
!(matchUrlDomain('wsj.com', details.url) && (enabledSites.includes('#options_disable_gb_wsj') || (!details.url.includes('/articles/') && mobile)));
|
||||
!(matchUrlDomain('wsj.com', details.url) && (enabledSites.includes('#options_disable_gb_wsj') || (!details.url.includes('/articles/') && details.type === 'main_frame' && mobile)));
|
||||
var bingbotEnabled = matchUrlDomain(use_bing_bot, details.url);
|
||||
var facebookbotEnabled = matchUrlDomain(use_facebook_bot, details.url);
|
||||
|
||||
|
|
|
@ -10,6 +10,7 @@ Fix Australia News Corp (amp-fix)
|
|||
Fix Cmjornal.pt & Record.pt (amp)
|
||||
Fix Grupo Abril (js-inline)
|
||||
Fix Telegraaf.nl (columns)
|
||||
Fix WSJ (mobile)
|
||||
|
||||
* v3.2.4.0 (2023-07-09)
|
||||
Add Delish, Elle Decor, Harper's Bazaar & Oprah Daily (Hearst)
|
||||
|
|
|
@ -4929,7 +4929,7 @@ else if (matchDomain('wsj.com')) {
|
|||
if (close_button)
|
||||
close_button.click();
|
||||
}
|
||||
let wsj_ads = document.querySelectorAll('div[class*="wsj-ad"], div[class*="BodyAdWrapper"]');
|
||||
let wsj_ads = document.querySelectorAll('div.wsj-ad, div.adWrapper');
|
||||
removeDOMElement(...wsj_ads);
|
||||
if (url.includes('/amp/')) {
|
||||
let masthead_link = document.querySelector('div.masthead > a[href*="/articles/"]');
|
||||
|
|
Loading…
Reference in a new issue