mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-13 19:11:59 +00:00
Fix ElMundo.es (colegios - no amp-fix)
This commit is contained in:
parent
26f6d29524
commit
be52001abd
@ -7,6 +7,7 @@ Add Funke Mediengruppe (fetch from archive.is)
|
||||
Add Industry Dive (opt-in to custom sites)
|
||||
Remove Puck.news (fix obsolete)
|
||||
Fix Boersen-zeitung.de (timing)
|
||||
Fix ElMundo.es (colegios - no amp-fix)
|
||||
Fix Il Sole 24 Ore (24+ only)
|
||||
|
||||
* v3.5.8.0 (2024-03-03)
|
||||
|
@ -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;
|
||||
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');
|
||||
}
|
||||
|
@ -51,5 +51,5 @@
|
||||
"webRequestBlocking",
|
||||
"*://*/*"
|
||||
],
|
||||
"version": "3.5.8.3"
|
||||
"version": "3.5.8.4"
|
||||
}
|
||||
|
@ -853,5 +853,5 @@
|
||||
"*://archive.vn/*",
|
||||
"*://webcache.googleusercontent.com/*"
|
||||
],
|
||||
"version": "3.5.8.3"
|
||||
"version": "3.5.8.4"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user