Add NyTeknik (Sweden)

master
magnolia1234 2021-04-16 19:43:24 +02:00
parent 0098785e37
commit 74122a8e12
6 changed files with 14 additions and 2 deletions

View File

@ -459,7 +459,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',
@ -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 - Chrome
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

@ -311,6 +311,7 @@
"*://*.nybooks.com/*",
"*://*.nydailynews.com/*",
"*://*.nymag.com/*",
"*://*.nyteknik.se/*",
"*://*.nytimes.com/*",
"*://*.nzherald.co.nz/*",
"*://*.nzz.ch/*",
@ -490,5 +491,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",