Add NyTeknik (Sweden)

This commit is contained in:
magnolia1234 2021-04-16 19:45:11 +02:00
parent 52a467f2f4
commit 8161a62be1
6 changed files with 15 additions and 3 deletions

View file

@ -427,7 +427,8 @@ Grupo Vocento (ABC) regional sites like
##### Sweden
[Dagens Industri](https://www.di.se) -
[Dagens Nyheter](https://www.dn.se)
[Dagens Nyheter](https://www.dn.se) -
[NyTeknik](https://www.nyteknik.se)
##### Switzerland
[Neue Zürcher Zeitung](https://www.nzz.ch)

View file

@ -113,6 +113,7 @@ var allow_cookies_default = [
'noz.de',
'nwzonline.de',
'nybooks.com',
'nyteknik.se',
'nytimes.com',
'nzz.ch',
'observador.pt',
@ -266,7 +267,7 @@ var blockedRegexes = {
'businessinsider.com': /\.tinypass\.com\//,
'challenges.fr': /\.poool\.fr\//,
'charliehebdo.fr': /\.poool\.fr\//,
'chicagobusiness.com': /(\.tinypass\.com\/|\.chicagobusiness\.com\/.+/js/js_-gfDCW.+\.js)/,
'chicagobusiness.com': /(\.tinypass\.com\/|\.chicagobusiness\.com\/.+\/js\/js_-gfDCW.+\.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/,
@ -342,6 +343,7 @@ var blockedRegexes = {
'nknews.org': /\.nknews\.org\/wp-content\/themes\/nknews\/js\/bootstrap\.min\.js/,
'noz.de': /cdn\.ampproject\.org\/v\d\/amp-(access|(sticky-)?ad|fx-flying-carpet)-.+\.js/,
'nwzonline.de': /cdn\.ampproject\.org\/v\d\/amp-(access|(sticky-)?ad|fx-flying-carpet)-.+\.js/,
'nyteknik.se': /\.nyteknik\.se\/.+\/static\/js\/site\.min\.js/,
'nytimes.com': /(meter-svc\.nytimes\.com\/meter\.js|mwcm\.nyt\.com\/.+\.js)/,
'observador.pt': /\.tinypass\.com\//,
'parismatch.com': /\.poool\.fr\//,

View file

@ -2,6 +2,7 @@
Changelog Bypass Paywalls Clean - Firefox
Post-release
Add NyTeknik (Sweden)
Add Reuters
Fix-update Crain's Chicago Business
Fix-update The Diplomat (magazine)

View file

@ -2015,6 +2015,12 @@ else if (matchDomain('nybooks.com')) {
removeDOMElement(banner);
}
else if (matchDomain('nyteknik.se')) {
let locked_article = document.querySelector('div.locked-article');
if (locked_article)
locked_article.classList.remove('locked-article');
}
else if (matchDomain('nytimes.com')) {
function nyt_main() {
navigator.storage.estimate = undefined;

View file

@ -323,6 +323,7 @@
"*://*.nybooks.com/*",
"*://*.nydailynews.com/*",
"*://*.nymag.com/*",
"*://*.nyteknik.se/*",
"*://*.nytimes.com/*",
"*://*.nzherald.co.nz/*",
"*://*.nzz.ch/*",
@ -502,5 +503,5 @@
"*://*.wallkit.net/*",
"*://*.wsj.net/*"
],
"version": "2.1.6.4"
"version": "2.1.6.5"
}

View file

@ -180,6 +180,7 @@ var defaultSites =
"Noordhollands Dagblad": "noordhollandsdagblad.nl",
"Nordwest Zeitung": "nwzonline.de",
"NRC Handelsblad": "nrc.nl",
"NyTeknik": "nyteknik.se",
"O Estado de S. Paulo": "estadao.com.br",
"O Globo": "globo.com",
"Observador.pt": "observador.pt",