Add MediaNama (India)
This commit is contained in:
parent
f5cab90605
commit
a8397dd6b0
@ -561,6 +561,7 @@ Grupo Vocento (ABC) regional sites like
|
||||
[Bloomberg Quint](https://www.bloombergquint.com)* -
|
||||
[Business Standard](https://www.business-standard.com) -
|
||||
[LiveMint](https://www.livemint.com) -
|
||||
[MediaNama](https://www.medianama.com) -
|
||||
[The Economic Times (ET Prime)](https://economictimes.indiatimes.com) -
|
||||
[The Hindu](https://www.thehindu.com) -
|
||||
[The Hindu BusinessLine](https://www.thehindubusinessline.com) -
|
||||
|
@ -21,9 +21,11 @@ const restrictions = {
|
||||
'elpais.com': /(\/elpais\.com\/$|\/(.+\.)?elpais\.com\/.+\.html)/,
|
||||
'faz.net': /^((?!\/.+\.faz\.net\/aktuell\/(\?switchfaznet)?$).)*$/,
|
||||
'foreignaffairs.com': /.+\.foreignaffairs\.com\/(articles|fa-caching|interviews|reviews|sites)\/.+/,
|
||||
'ft.com': /.+\.ft.com\/content\//,
|
||||
'ft.com': /.+\.ft\.com\/content\//,
|
||||
'gestion.pe': /.+\/gestion\.pe\/.+((\w)+(\-)+){3,}.+/,
|
||||
'globo.com': /^((?!\/valor\.globo\.com\/).)*$/,
|
||||
'medianama.com': /\.medianama\.com\/(\d){4}\/(\d){2}\//,
|
||||
'timesofindia.com': /.+\.timesofindia\.com\/(toi-plus(\/.+)?|.+\.cms)/,
|
||||
'nknews.org': /^((?!nknews\.org\/pro\/).)*$/,
|
||||
'quora.com': /^((?!quora\.com\/search\?q=).)*$/,
|
||||
'seekingalpha.com': /.+\/seekingalpha\.com\/($|(amp\/)?(article|news)\/|samw\/)/,
|
||||
@ -104,6 +106,7 @@ var allow_cookies_default = [
|
||||
'loeildelaphotographie.com',
|
||||
'lrb.co.uk',
|
||||
'marketwatch.com',
|
||||
'medianama.com',
|
||||
'medium.com',
|
||||
'modernhealthcare.com',
|
||||
'mz-web.de',
|
||||
@ -279,7 +282,7 @@ var blockedRegexes = {
|
||||
'businessinsider.com': /\.tinypass\.com\//,
|
||||
'challenges.fr': /\.poool\.fr\//,
|
||||
'charliehebdo.fr': /\.poool\.fr\//,
|
||||
'chicagobusiness.com': /(\.tinypass\.com\/|\.chicagobusiness\.com\/.+\/js\/js_-.+\.js)/,
|
||||
'chicagobusiness.com': /(\.tinypass\.com\/|\.chicagobusiness\.com\/.+\/js\/js_.+\.js)/,
|
||||
'chronicle.com': /(\.blueconic\.net\/|\.chronicle\.com\/(common\/)?(che-auth0-user|script)\.js)/,
|
||||
'clarin.com': /js\.matheranalytics\.com\//,
|
||||
'cmjornal.pt': /cdn\.ampproject\.org\/v\d\/amp-(access|(sticky-)?ad)-.+\.js/,
|
||||
@ -869,7 +872,8 @@ ext_api.webRequest.onHeadersReceived.addListener(function (details) {
|
||||
},
|
||||
['blocking', 'responseHeaders']);
|
||||
|
||||
// elviajero|retina|verne.elpais.com block inline script
|
||||
// block inline script
|
||||
var block_js_inline = ["*://elviajero.elpais.com/*", "*://retina.elpais.com/*", "*://verne.elpais.com/*", "*://*.medianama.com/*"]
|
||||
ext_api.webRequest.onHeadersReceived.addListener(function (details) {
|
||||
if (!isSiteEnabled(details)) {
|
||||
return;
|
||||
@ -884,7 +888,7 @@ ext_api.webRequest.onHeadersReceived.addListener(function (details) {
|
||||
};
|
||||
}, {
|
||||
'types': ['main_frame', 'sub_frame'],
|
||||
'urls': ["*://elviajero.elpais.com/*", "*://retina.elpais.com/*", "*://verne.elpais.com/*"]
|
||||
'urls': block_js_inline
|
||||
},
|
||||
['blocking', 'responseHeaders']);
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
Changelog Bypass Paywalls Clean - Chrome
|
||||
|
||||
Post-release
|
||||
Add MediaNama (India)
|
||||
|
||||
* v2.2.1.0 (2021-05-16)
|
||||
Add Las Provincias (Spain)
|
||||
|
@ -1722,6 +1722,12 @@ else if (matchDomain('cen.acs.org')) {
|
||||
});
|
||||
}
|
||||
|
||||
else if (matchDomain('chicagobusiness.com')) {
|
||||
let body_hidden = document.querySelector('body[class]');
|
||||
if (body_hidden)
|
||||
body_hidden.removeAttribute('class');
|
||||
}
|
||||
|
||||
else if (matchDomain('discovermagazine.com')) {
|
||||
window.setTimeout(function () {
|
||||
let mammoth = document.querySelector('.iXVGnF');
|
||||
|
@ -30,5 +30,5 @@
|
||||
"webRequestBlocking",
|
||||
"<all_urls>"
|
||||
],
|
||||
"version": "2.2.1.0"
|
||||
"version": "2.2.1.1"
|
||||
}
|
@ -274,6 +274,7 @@
|
||||
"*://*.marmai.fi/*",
|
||||
"*://*.maz-online.de/*",
|
||||
"*://*.mcall.com/*",
|
||||
"*://*.medianama.com/*",
|
||||
"*://*.medium.com/*",
|
||||
"*://*.mediuutiset.fi/*",
|
||||
"*://*.mercuriovalpo.cl/*",
|
||||
@ -503,5 +504,5 @@
|
||||
"*://*.wallkit.net/*",
|
||||
"*://*.wsj.net/*"
|
||||
],
|
||||
"version": "2.2.1.0"
|
||||
"version": "2.2.1.1"
|
||||
}
|
1
sites.js
1
sites.js
@ -163,6 +163,7 @@ var defaultSites =
|
||||
"Madsack Mediengruppe (Germany)": "###_de_madsack",
|
||||
"MarketWatch": "marketwatch.com",
|
||||
"McClatchy Group": "###_usa_mcc",
|
||||
"MediaNama": "medianama.com",
|
||||
"Medium": "medium.com",
|
||||
"Medium custom domains": "###_medium_custom",
|
||||
"Mexico News Daily": "mexiconewsdaily.com",
|
||||
|
Loading…
x
Reference in New Issue
Block a user