Fix La Tercera & MIT Technology Review
This commit is contained in:
parent
95303e24c1
commit
fa99902d3c
@ -2,6 +2,8 @@
|
||||
Changelog Bypass Paywalls Clean - Chrome
|
||||
|
||||
Post-release
|
||||
Fix La Tercera (js)
|
||||
Fix MIT Technology Review (TinyPass)
|
||||
|
||||
* v2.5.4.0 (2022-01-30)
|
||||
Add group Outside magazines
|
||||
|
@ -774,7 +774,7 @@ else if (matchDomain('nyteknik.se')) {
|
||||
else
|
||||
csDone = true;
|
||||
|
||||
} else if (window.location.hostname.match(/\.(es|pt)$/) || matchDomain(['diariovasco.com', 'elconfidencial.com', 'elcorreo.com', 'elespanol.com', 'elpais.com', 'elperiodico.com', 'elperiodicomediterraneo.com', 'expansion.com', 'larioja.com', 'lavanguardia.com', 'levante-emv.com', 'marca.com', 'politicaexterior.com'])) {//spain/portugal
|
||||
} else if (window.location.hostname.match(/\.(es|pt)$/) || matchDomain(['diariovasco.com', 'elconfidencial.com', 'elcorreo.com', 'elespanol.com', 'elpais.com', 'elperiodico.com', 'elperiodicomediterraneo.com', 'expansion.com', 'larioja.com', 'levante-emv.com', 'marca.com', 'politicaexterior.com'])) {//spain/portugal
|
||||
|
||||
if (matchDomain('abc.es')) {
|
||||
if (window.location.pathname.endsWith('_amp.html')) {
|
||||
@ -918,12 +918,6 @@ else if (matchDomain(es_epiberica_domains)) {
|
||||
}
|
||||
}
|
||||
|
||||
else if (matchDomain('lavanguardia.com')) {
|
||||
let paywall = document.querySelector('[class*="ev-open-modal-paywall"]');
|
||||
let infinite_loading = document.querySelector('#infinite-loading');
|
||||
removeDOMElement(paywall, infinite_loading);
|
||||
}
|
||||
|
||||
else if (matchDomain('observador.pt')) {
|
||||
let paywall = document.querySelector('.premium-article');
|
||||
if (paywall)
|
||||
@ -2517,7 +2511,7 @@ else if (matchDomain('law360.com')) {
|
||||
}
|
||||
|
||||
else if (matchDomain('livelaw.in')) {
|
||||
let paywall = document.querySelectorAll('div.restricted_message > div.story, div.restricted_message > div.row');
|
||||
let paywall = document.querySelectorAll('div.restricted_message, div.subscribeNow');
|
||||
if (paywall.length) {
|
||||
removeDOMElement(...paywall);
|
||||
let paywall_content = document.querySelector('div.paywall-content.hide');
|
||||
@ -2927,23 +2921,6 @@ else if (matchDomain('techinasia.com')) {
|
||||
removeDOMElement(splash_subscribe, paywall_hard);
|
||||
}
|
||||
|
||||
else if (matchDomain('technologyreview.com')) {
|
||||
window.setTimeout(function () {
|
||||
let body_obscured = document.querySelector('body[class*="body__obscureContent"]');
|
||||
if (body_obscured)
|
||||
removeClassesByPrefix(body_obscured, 'body__obscureContent');
|
||||
let overlay = document.querySelector('div[class*="overlayFooter__wrapper"]');
|
||||
if (overlay)
|
||||
overlay.setAttribute('style', 'display:none');
|
||||
let content_body_hidden = document.querySelector('div[class*="contentBody__contentHidden"]');
|
||||
if (content_body_hidden)
|
||||
removeClassesByPrefix(content_body_hidden, 'contentBody__contentHidden');
|
||||
let content_body_overlay = document.querySelector('div[class*="contentBody__overlay"]');
|
||||
if (content_body_overlay)
|
||||
content_body_overlay.removeAttribute('class');
|
||||
}, 500);
|
||||
}
|
||||
|
||||
else if (matchDomain('the-american-interest.com')) {
|
||||
let counter = document.getElementById('article-counter');
|
||||
removeDOMElement(counter);
|
||||
|
@ -39,5 +39,5 @@
|
||||
"webRequestBlocking",
|
||||
"<all_urls>"
|
||||
],
|
||||
"version": "2.5.4.0"
|
||||
"version": "2.5.4.1"
|
||||
}
|
||||
|
@ -574,6 +574,7 @@
|
||||
"*://*.qiota.com/*",
|
||||
"*://*.tinypass.com/*",
|
||||
"*://*.tribdss.com/*",
|
||||
"*://*.zephr.com/*",
|
||||
"*://*.amazonaws.com/*",
|
||||
"*://*.apnarm.net.au/*",
|
||||
"*://*.bntech.io/*",
|
||||
@ -598,8 +599,7 @@
|
||||
"*://*.rndtech.de/*",
|
||||
"*://*.sanoma-sndp.fi/*",
|
||||
"*://*.wallkit.net/*",
|
||||
"*://*.wsj.net/*",
|
||||
"*://*.zephr.com/*"
|
||||
"*://*.wsj.net/*"
|
||||
],
|
||||
"version": "2.5.4.0"
|
||||
"version": "2.5.4.1"
|
||||
}
|
||||
|
9
sites.js
9
sites.js
@ -855,7 +855,8 @@ var defaultSites = {
|
||||
},
|
||||
"La Tercera": {
|
||||
domain: "latercera.com",
|
||||
block_regex: /(\.latercera\.com\/arc\/subs\/p\.js|cdn\.cxense\.com\/)/
|
||||
allow_cookies: 1,
|
||||
block_regex: /(\.latercera\.com\/arc\/subs\/p\.min\.js|cdn\.cxense\.com\/)/
|
||||
},
|
||||
"La Tribune": {
|
||||
domain: "latribune.fr",
|
||||
@ -886,7 +887,8 @@ var defaultSites = {
|
||||
block_regex: /\.poool\.fr\//
|
||||
},
|
||||
"Le Journal du Net": {
|
||||
domain: "journaldunet.com"
|
||||
domain: "journaldunet.com",
|
||||
allow_cookies: 1
|
||||
},
|
||||
"Le Parisien": {
|
||||
domain: "leparisien.fr",
|
||||
@ -1061,7 +1063,8 @@ var defaultSites = {
|
||||
},
|
||||
"MIT Technology Review": {
|
||||
domain: "technologyreview.com",
|
||||
block_regex: /(\.blueconic\.net\/|cdn\.ampproject\.org\/v\d\/amp-(access|ad)-.+\.mjs)/
|
||||
allow_cookies: 1,
|
||||
block_regex: /(\.tinypass\.com\/|cdn\.ampproject\.org\/v\d\/amp-(access|ad)-.+\.mjs)/
|
||||
},
|
||||
"Mitteldeutsche Zeitung": {
|
||||
domain: "mz.de",
|
||||
|
@ -30,6 +30,16 @@
|
||||
"domain": "huffingtonpost.it",
|
||||
"group_rule": "###_gr_it_repubblica_domains"
|
||||
},
|
||||
"La Tercera": {
|
||||
"domain": "latercera.com",
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "(\\.latercera\\.com\\/arc\\/subs\\/p\\.min\\.js|cdn\\.cxense\\.com\\/)"
|
||||
},
|
||||
"MIT Technology Review": {
|
||||
"domain": "technologyreview.com",
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "(\\.tinypass\\.com\\/|cdn\\.ampproject\\.org\\/v\\d\\/amp-(access|ad)-.+\\.mjs)"
|
||||
},
|
||||
"###_gr_it_repubblica_domains": {
|
||||
"group_rule_domains": ["gelocal.it", "huffingtonpost.it", "ilsecoloxix.it", "italian.tech", "lanuovasardegna.it", "lastampa.it", "lescienze.it", "limesonline.com", "repubblica.it"],
|
||||
"allow_cookies": 1,
|
||||
|
Loading…
x
Reference in New Issue
Block a user