|
|
@ -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);
|
|
|
|
}
|
|
|
|
}
|
|
|
|