Fix Financial Times (refresh)

Fix Nikkei Asian Review (refresh)
This commit is contained in:
magnolia1234 2023-08-27 08:04:44 +02:00
parent 8c10bb0f9c
commit 0240d2b0bf
4 changed files with 15 additions and 7 deletions

View file

@ -7,8 +7,10 @@ Add Bridge Tower Media (opt-in to custom sites)
Add Fast Company
Add LeTemps.ch
Remove DN.no (fix obsolete)
Fix Financial Times (refresh)
Fix Media Group Westfalen (identify sites)
Fix Mediahuis Noord (json)
Fix Nikkei Asian Review (refresh)
Fix WSJ (amp 404 & restore option to disable Googlebot)
* v3.3.0.0 (2023-08-20)

View file

@ -2798,12 +2798,13 @@ else if (matchDomain('citywire.com')) {
}
else if (matchDomain('ft.com')) {
if (window.location.hostname.startsWith('amp.')) {
amp_unhide_subscr_section('.ad-container, amp-ad');
} else {
let banners = document.querySelectorAll('.o-cookie-message, .js-article-ribbon, .o-ads, .o-banner');
removeDOMElement(...banners);
let paywall = document.querySelector('div.js-primary-offers-container');
if (paywall) {
removeDOMElement(paywall);
refreshCurrentTab();
}
let banners = document.querySelectorAll('.o-cookie-message, .js-article-ribbon, .o-ads, .o-banner');
removeDOMElement(...banners);
}
else if (matchDomain('independent.co.uk')) {
@ -3325,6 +3326,11 @@ else if (matchDomain('artnet.com')) {
}
else if (matchDomain('asia.nikkei.com')) {
let paywall = document.querySelector('div.tp-container-inner');
if (paywall) {
removeDOMElement(paywall);
refreshCurrentTab();
}
let popup = document.querySelector('#pianoj_ribbon');
removeDOMElement(popup);
}

View file

@ -51,5 +51,5 @@
"webRequestBlocking",
"*://*/*"
],
"version": "3.3.0.7"
"version": "3.3.0.8"
}

View file

@ -791,5 +791,5 @@
"*://*.wyleex.com/*",
"*://webcache.googleusercontent.com/*"
],
"version": "3.3.0.7"
"version": "3.3.0.8"
}