Fix Financial Times (refresh)

Fix Nikkei Asian Review (refresh)
merge-requests/16/head
magnolia1234 1 year ago
parent 8c10bb0f9c
commit 0240d2b0bf

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

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

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

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

Loading…
Cancel
Save