|
|
|
@ -1589,7 +1589,23 @@ else if (matchDomain('elespanol.com')) {
|
|
|
|
|
else if (matchDomain(es_unidad_domains)) {
|
|
|
|
|
if (!window.location.hostname.match(/^amp(-[a-z]{2})?\./)) {
|
|
|
|
|
let url = window.location.href;
|
|
|
|
|
amp_redirect('div.ue-c-article__premium', '', url.replace('/www.', '/amp.'));
|
|
|
|
|
if (!window.location.pathname.startsWith('/mejores-colegios')) {
|
|
|
|
|
amp_redirect('div.ue-c-article__premium', '', url.replace('/www.', '/amp.'));
|
|
|
|
|
} else if (matchDomain('elmundo.es')) {
|
|
|
|
|
let paywall = document.querySelector('div.ue-c-article__premium');
|
|
|
|
|
if (paywall) {
|
|
|
|
|
removeDOMElement(paywall);
|
|
|
|
|
header_nofix(document.querySelector('main p'));
|
|
|
|
|
} else {
|
|
|
|
|
paywall = document.querySelector('div.ue-c-paywall');
|
|
|
|
|
if (paywall) {
|
|
|
|
|
removeDOMElement(paywall);
|
|
|
|
|
let article = document.querySelector('table');
|
|
|
|
|
if (article)
|
|
|
|
|
article.before(googleWebcacheLink(url));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
let ads = document.querySelectorAll('div[id^="taboola-"]');
|
|
|
|
|
hideDOMElement(...ads);
|
|
|
|
|
} else {
|
|
|
|
@ -2678,6 +2694,11 @@ else if (matchDomain(['lc.nl', 'dvhn.nl']) || document.querySelector('head > lin
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
else if (matchDomain(nl_dpg_adr_domains.concat(['hln.be']))) {
|
|
|
|
|
func_post = function () {
|
|
|
|
|
let shades = document.querySelectorAll('div[style*="background-color"][style*=";width"]');
|
|
|
|
|
for (let elem of shades)
|
|
|
|
|
elem.style.width = '85%';
|
|
|
|
|
}
|
|
|
|
|
let url = window.location.href;
|
|
|
|
|
getArchive(url, 'div#remaining-paid-content[data-reduced="true"]', '', 'div.article__body', '', 'div#remaining-paid-content');
|
|
|
|
|
}
|
|
|
|
|