mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 03:21:58 +01:00
Add NyTeknik (Sweden)
This commit is contained in:
parent
52a467f2f4
commit
8161a62be1
6 changed files with 15 additions and 3 deletions
|
@ -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)
|
||||
|
|
|
@ -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\//,
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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"
|
||||
}
|
1
sites.js
1
sites.js
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue