Add The Ken (not Southeast Asia)

merge-requests/7/head
magnolia1234 2 years ago
parent 7e956cc59e
commit b40cc11c1e

@ -727,6 +727,7 @@ Grouped in options:\
[The Hindu](https://www.thehindu.com) -
[The Hindu BusinessLine](https://www.thehindubusinessline.com) -
[The Indian Express](https://indianexpress.com) -
[The Ken](https://the-ken.com) -
[Times of India](https://timesofindia.indiatimes.com)
#### Israel

@ -33,6 +33,7 @@ var restrictions = {
'seekingalpha.com': /\/seekingalpha\.com($|\/($|(amp\/)?(article|news)\/|samw\/))/,
'statista.com': /^((?!\.statista\.com\/(outlook|study)\/).)*$/,
'techinasia.com': /\.techinasia\.com\/.+/,
'the-ken.com': /^((?!\/the-ken\.com\/sea\/).)*$/,
'timeshighereducation.com': /\.timeshighereducation\.com\/((features|news|people)\/|.+((\w)+(\-)+){3,}.+|sites\/default\/files\/)/
}

@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox
Post-release
Add The Japan Times
Add The Ken (not Southeast Asia)
Fix ilTirreno.it & LaNuovaSardegna.it
Fix Koelner Stadt-Anzeiger & Koelnische Rundschau
Fix Nrc.nl

@ -3592,6 +3592,13 @@ else if (matchDomain('the-american-interest.com')) {
removeDOMElement(counter);
}
else if (matchDomain('the-ken.com')) {
if (window.location.pathname.startsWith('/story/')) {
let paywall = document.querySelector('section#paywall');
removeDOMElement(paywall);
}
}
else if (matchDomain('theathletic.com')) {
if (!window.location.search.match(/(\?|&)amp/)) {
let paywall = document.querySelectorAll('div#paywall-container, div[subscriptions-action="subscribe"], a.headline-paywall, div#slideup-paywall');

@ -65,6 +65,11 @@
"allow_cookies": 1,
"domain": "internationalepolitik.de"
},
"Kaleva.fi": {
"allow_cookies": 1,
"domain": "kaleva.fi",
"useragent": "googlebot"
},
"Lindipendente.online": {
"allow_cookies": 1,
"domain": "lindipendente.online",

@ -548,6 +548,7 @@
"*://*.telerama.fr/*",
"*://*.tennessean.com/*",
"*://*.the-american-interest.com/*",
"*://*.the-ken.com/*",
"*://*.the-tls.co.uk/*",
"*://*.theadvocate.com.au/*",
"*://*.theadvocate.com/*",
@ -693,5 +694,5 @@
"*://*.wsj.net/*",
"*://webcache.googleusercontent.com/*"
],
"version": "2.7.5.4"
"version": "2.7.5.5"
}

@ -1748,6 +1748,11 @@ var defaultSites = {
allow_cookies: 1,
block_regex: /\.jpost\.com\/js\/js_article\.min\.js/
},
"The Ken (not Southeast Asia)": {
domain: "the-ken.com",
allow_cookies: 1,
block_regex: /\/the-ken\.com\/wp-content\/.+\/js\/bootstrap\.min\.js/
},
"The Lawyer's Daily": {
domain: "thelawyersdaily.ca",
allow_cookies: 1,
@ -2180,4 +2185,4 @@ var no_nhst_media_domains = grouped_sites['###_no_nhst_media'];
// sites with no fix (background)
var nl_ad_region_domains = ['ad.nl', 'bd.nl', 'ed.nl', 'tubantia.nl', 'bndestem.nl', 'pzc.nl', 'destentor.nl', 'gelderlander.nl'];
var nofix_sites = ['africaintelligence.com', 'africaintelligence.fr', 'aftenposten.no', 'bild.de', 'borsen.dk', 'businesstimes.com.sg', 'caixin.com', 'caixinglobal.com', 'caravanmagazine.in', 'cnbc.com', 'courrierinternational.com', 'dn.se', 'elordenmundial.com', 'epw.in', 'expresso.pt', 'ftchinese.com', 'gazzetta.it', 'handelsblatt.com', 'hln.be', 'ilmanifesto.it', 'ilsole24ore.com', 'jacobinmag.com', 'jeunesafrique.com', 'lavozdegalicia.es', 'leconomiste.com', 'lefigaro.fr', 'lemonde.fr', 'lepoint.fr', 'liberation.fr', 'mediapart.fr', 'milanofinanza.it', 'mondediplo.com', 'moneycontrol.com', 'nieuwsblad.be', 'nknews.org', 'ouest-france.fr', 'politiken.de', 'publico.pt', 'republic.ru', 'rp-online.de', 'standaard.be', 'statnews.com', 'stern.de', 'straitstimes.com', 'sueddeutsche.de', 'tagesanzeiger.ch', 'tagesspiegel.de', 'the-ken.com', 'theinformation.com', ' themorningcontext.com', 'theparisreview.org', 'thewirechina.com', 'welt.de', 'wiwo.de', 'ynet.co.il'].concat(nl_ad_region_domains);
var nofix_sites = ['africaintelligence.com', 'africaintelligence.fr', 'aftenposten.no', 'bild.de', 'borsen.dk', 'businesstimes.com.sg', 'caixin.com', 'caixinglobal.com', 'caravanmagazine.in', 'cnbc.com', 'courrierinternational.com', 'dn.se', 'elordenmundial.com', 'epw.in', 'expresso.pt', 'ftchinese.com', 'gazzetta.it', 'handelsblatt.com', 'hln.be', 'ilmanifesto.it', 'ilsole24ore.com', 'jacobinmag.com', 'jeunesafrique.com', 'lavozdegalicia.es', 'leconomiste.com', 'lefigaro.fr', 'lemonde.fr', 'lepoint.fr', 'liberation.fr', 'mediapart.fr', 'milanofinanza.it', 'mondediplo.com', 'moneycontrol.com', 'nieuwsblad.be', 'nknews.org', 'ouest-france.fr', 'politiken.de', 'publico.pt', 'republic.ru', 'rp-online.de', 'standaard.be', 'statnews.com', 'stern.de', 'straitstimes.com', 'sueddeutsche.de', 'tagesanzeiger.ch', 'tagesspiegel.de', 'theinformation.com', ' themorningcontext.com', 'theparisreview.org', 'thewirechina.com', 'welt.de', 'wiwo.de', 'ynet.co.il'].concat(nl_ad_region_domains);

@ -78,6 +78,11 @@
"block_regex": "cdn\\.cxense\\.com\\/",
"remove_cookies_select_drop": ["xbc"]
},
"The Ken (not Southeast Asia)": {
"domain": "the-ken.com",
"allow_cookies": 1,
"block_regex": "\\/the-ken\\.com\\/wp-content\\/.+\\/js\\/bootstrap\\.min\\.js"
},
"The Wall Street Journal": {
"domain": "wsj.com",
"allow_cookies": 1,

Loading…
Cancel
Save