mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 03:41:57 +01:00
Add Dagsavisen.no & Dn.se
This commit is contained in:
parent
b54477cb5f
commit
e0678dae67
10 changed files with 64 additions and 17 deletions
|
@ -767,6 +767,7 @@ Grouped in options:\
|
|||
[Libelle.be](https://www.libelle.be)
|
||||
|
||||
##### Norway
|
||||
[Dagsavisen](https://www.dagsavisen.no)\
|
||||
Grouped in options:\
|
||||
*NHST Media Group* sites like\
|
||||
[Europower](https://www.europower.no) -
|
||||
|
@ -838,6 +839,7 @@ Grouped in options:\
|
|||
##### Sweden
|
||||
[Dagens ETC](https://www.etc.se) -
|
||||
[Dagens Industri](https://www.di.se) -
|
||||
[Dagens Nyheter](https://www.dn.se) -
|
||||
[NyTeknik](https://www.nyteknik.se)
|
||||
|
||||
Grouped in options:\
|
||||
|
|
|
@ -965,7 +965,7 @@ if (typeof browser !== 'object') {
|
|||
}
|
||||
}
|
||||
|
||||
var set_var_sites = ['journaldemontreal.com', 'journaldequebec.com', 'nzherald.co.nz', 'theglobeandmail.com'].concat(de_madsack_domains);
|
||||
var set_var_sites = ['dagsavisen.no', 'journaldemontreal.com', 'journaldequebec.com', 'nzherald.co.nz', 'theglobeandmail.com'].concat(de_madsack_domains);
|
||||
function runOnTab_once_var(tab) {
|
||||
let tabId = tab.id;
|
||||
let url = tab.url;
|
||||
|
|
|
@ -4,6 +4,8 @@ Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywal
|
|||
|
||||
Post-release
|
||||
Add BusinessTimes.com.sg & StraitsTimes.com (SPH Media)
|
||||
Add Dagsavisen.no
|
||||
Add Dn.se (fetch from archive.is)
|
||||
Add McPherson Media Group (au; opt-in to custom sites)
|
||||
Add The Lamp Magazine
|
||||
Fix Augsburger-allgemeine.de (Googlebot)
|
||||
|
@ -508,7 +510,7 @@ Fix The Globe and Mail (title/comments)
|
|||
Update custom sites/popup (remove Google Search Tool)
|
||||
|
||||
* v3.1.8.0 (2023-05-14)
|
||||
Add Dagens Nyheter (link to archive.is)
|
||||
Add Dn.se (link to archive.is)
|
||||
Add Monocle (UK)
|
||||
Add Stylist.co.uk
|
||||
Fix Advance Local (no amp)
|
||||
|
@ -1068,7 +1070,7 @@ Add Artforum
|
|||
Add Initium Media
|
||||
Add L'Avenir (Belgium)
|
||||
Add The Banker
|
||||
Remove Dagens Nyheter (fix obsolete)
|
||||
Remove Dn.se (fix obsolete)
|
||||
Remove Valor Economico (fix obsolete)
|
||||
Fix Business-standard.com
|
||||
Fix El Mercurio
|
||||
|
@ -1696,7 +1698,7 @@ Fix The Diplomat (magazine)
|
|||
Bugfix Le Dauphine (plus some French sites)
|
||||
|
||||
* v2.1.6.0 (2021-04-11)
|
||||
Add Dagens Industri (Sweden)
|
||||
Add Di.se
|
||||
Add La Nouvelle Republique du Centre-Ouest (France)
|
||||
Add VeloNews
|
||||
Fix Business-standard.com (mobile to desktop)
|
||||
|
|
|
@ -1465,7 +1465,15 @@ else
|
|||
|
||||
} else if (window.location.hostname.match(/\.(dk|fi|se)$/)) {//denmark/finland/sweden
|
||||
|
||||
if (matchDomain('etc.se')) {
|
||||
if (matchDomain('dn.se')) {
|
||||
let url = window.location.href;
|
||||
getArchive(url, 'div.esi-paywall', '', 'div.article__premium-content', '', 'article > div[style="display:block;"]');
|
||||
let locked = document.querySelector('div.article__content--locked');
|
||||
if (locked)
|
||||
locked.classList.remove('article__content--locked');
|
||||
}
|
||||
|
||||
else if (matchDomain('etc.se')) {
|
||||
let paywall = document.querySelector('div.paywalled');
|
||||
if (paywall) {
|
||||
paywall.removeAttribute('class');
|
||||
|
|
|
@ -21,6 +21,19 @@ if (matchDomain(de_madsack_domains) || document.querySelector('head > link[href*
|
|||
|
||||
}
|
||||
|
||||
if (matchDomain('dagsavisen.no')) {
|
||||
function dagsavisen_main() {
|
||||
for (let n = 0; n < 10; n++) {
|
||||
window.setTimeout(function () {
|
||||
if (window.Fusion) {
|
||||
window.Fusion.globalContent.content_restrictions.content_code = 0;
|
||||
}
|
||||
}, n * 50);
|
||||
}
|
||||
}
|
||||
insert_script(dagsavisen_main);
|
||||
}
|
||||
|
||||
else if (matchDomain(['journaldemontreal.com', 'journaldequebec.com'])) {
|
||||
for (let n = 0; n < 10; n++) {
|
||||
window.setTimeout(function () {
|
||||
|
|
|
@ -51,5 +51,5 @@
|
|||
"webRequestBlocking",
|
||||
"*://*/*"
|
||||
],
|
||||
"version": "3.5.3.6"
|
||||
"version": "3.5.3.7"
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"###_remove_sites": {
|
||||
"cs_code": "bild.de, gp.se, group_haaretz, handelsblatt.com, politiken.dk, theinformation.com",
|
||||
"cs_code": "bild.de, dn.se, gp.se, group_haaretz, handelsblatt.com, politiken.dk, theinformation.com",
|
||||
"domain": "###"
|
||||
},
|
||||
"Abajournal.com": {
|
||||
|
@ -79,6 +79,11 @@
|
|||
"domain": "bt.no",
|
||||
"useragent": "facebookbot"
|
||||
},
|
||||
"Btc-echo.de": {
|
||||
"allow_cookies": 1,
|
||||
"domain": "btc-echo.de",
|
||||
"ld_json_url": "div.btc-echo-plus-paywall|div.entry-content|1"
|
||||
},
|
||||
"Businessinsider.de": {
|
||||
"add_ext_link": "div.piano-article__paywall|div.piano-article__content",
|
||||
"add_ext_link_type": "google_search_tool",
|
||||
|
@ -164,14 +169,7 @@
|
|||
"allow_cookies": 1,
|
||||
"domain": "dn.no"
|
||||
},
|
||||
"Dn.se": {
|
||||
"add_ext_link": "div.esi-paywall|div.article__content",
|
||||
"add_ext_link_type": "archive.is",
|
||||
"allow_cookies": 1,
|
||||
"domain": "dn.se",
|
||||
"ld_archive_is": "div.esi-paywall|div.article__content|article>div[style='display:block;']"
|
||||
},
|
||||
"Edweek.org": {
|
||||
"Edweek.org (not Market Brief)": {
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "js\\.pelcro\\.com",
|
||||
"domain": "edweek.org"
|
||||
|
@ -450,6 +448,11 @@
|
|||
"domain": "mediapost.com",
|
||||
"ld_google_webcache": "div.modal|div#article_body"
|
||||
},
|
||||
"Medieninsider.com": {
|
||||
"allow_cookies": 1,
|
||||
"domain": "medieninsider.com",
|
||||
"useragent": "googlebot"
|
||||
},
|
||||
"Medpagetoday.com": {
|
||||
"allow_cookies": 1,
|
||||
"domain": "medpagetoday.com",
|
||||
|
|
|
@ -187,6 +187,7 @@
|
|||
"*://*.ctpost.com/*",
|
||||
"*://*.curbed.com/*",
|
||||
"*://*.cw.com.tw/*",
|
||||
"*://*.dagsavisen.no/*",
|
||||
"*://*.dailyadvertiser.com.au/*",
|
||||
"*://*.dailyliberal.com.au/*",
|
||||
"*://*.dailypress.com/*",
|
||||
|
@ -210,6 +211,7 @@
|
|||
"*://*.diepresse.com/*",
|
||||
"*://*.digiday.com/*",
|
||||
"*://*.discovermagazine.com/*",
|
||||
"*://*.dn.se/*",
|
||||
"*://*.doorbraak.be/*",
|
||||
"*://*.dvhn.nl/*",
|
||||
"*://*.eastbaytimes.com/*",
|
||||
|
@ -843,5 +845,5 @@
|
|||
"*://archive.vn/*",
|
||||
"*://webcache.googleusercontent.com/*"
|
||||
],
|
||||
"version": "3.5.3.6"
|
||||
"version": "3.5.3.7"
|
||||
}
|
||||
|
|
11
sites.js
11
sites.js
|
@ -480,6 +480,15 @@ var defaultSites = {
|
|||
allow_cookies: 1,
|
||||
useragent: "googlebot"
|
||||
},
|
||||
"Dagens Nyheter (fetch from archive.is)": {
|
||||
domain: "dn.se",
|
||||
allow_cookies: 1,
|
||||
cs_dompurify: 1
|
||||
},
|
||||
"Dagsavisen.no": {
|
||||
domain: "dagsavisen.no",
|
||||
allow_cookies: 1
|
||||
},
|
||||
"De Limburger (fetch from archive.is)": {
|
||||
domain: "limburger.nl",
|
||||
allow_cookies: 1,
|
||||
|
@ -3013,4 +3022,4 @@ var de_westfalen_medien_nofix_domains = ['muensterschezeitung.de', 'westfalen-bl
|
|||
var fr_groupe_ebra_nofix_domains = ['bienpublic.com', 'dna.fr', 'estrepublicain.fr', 'lalsace.fr', 'ledauphine.com', 'lejsl.com', 'leprogres.fr', 'republicain-lorrain.fr', 'vosgesmatin.fr'];
|
||||
var fr_indigo_nofix_domains = ['africaintelligence.com', 'africaintelligence.fr', 'glitz.paris', 'intelligenceonline.com', 'intelligenceonline.fr', 'lalettre.fr'];
|
||||
var it_gedi_nofix_domains = ['gelocal.it', 'limesonline.com'];
|
||||
var nofix_sites = ['11freunde.de', 'aamulehti.fi', 'abendblatt.de', 'aftenposten.no', 'aftonbladet.se', 'allgaeuer-zeitung.de', 'asahi.com', 'asiatimes.com', 'autosport.com', 'aviationweek.com', 'badische-zeitung.de', 'bhaskar.com', 'bloomberglaw.com', 'bloombergtax.com', 'bnef.com', 'bnn.de', 'borsen.dk', 'businessinsider.de', 'businessinsider.jp', 'businesslive.co.za', 'caixin.com', 'caixinglobal.com', 'caravanmagazine.in', 'catalyst-journal.com', 'chegg.com', 'codesports.com.au', 'compactmag.com', 'courrierinternational.com', 'coursehero.com', 'deutsche-wirtschafts-nachrichten.de', 'die-glocke.de', 'dn.no', 'dn.se', 'elordenmundial.com', 'entrepreneur.com', 'epw.in', 'expresso.pt', 'falter.at', 'finance.si', 'franc-tireur.fr', 'ftchinese.com', 'ftchineselive.com', 'gamestar.de', 'geo.de', 'golem.de', 'gp.se', 'gva.be', 'handelsblatt.com', 'hbrarabic.com', 'hbrchina.org', 'hbrfrance.fr', 'heise.de', 'hs.fi', 'ilsole24ore.com', 'information.dk', 'investors.com', 'iltalehti.fi', 'jacobin.com', 'jeuneafrique.com', 'jungefreiheit.de', 'kleinezeitung.at', 'laverita.info', 'lavie.fr', 'lavozdegalicia.es', 'law360.co.uk', 'law360.com', 'le1hebdo.fr', 'leconomiste.com', 'lefilmfrancais.com', 'lemonde.fr', 'lequipe.fr', 'lesjours.fr', 'letemps.ch', 'liberation.fr', 'libertiesjournal.com', 'main-echo.de', 'mainpost.de', 'manager-magazin.de', 'medianama.com', 'mediapart.fr', 'milanofinanza.it', 'mittelbayerische.de', 'monde-diplomatique.fr', 'mondediplo.com', 'money.it', 'moneycontrol.com', 'moodys.com', 'morningstar.com', 'motorsport.com', 'moz.de', 'nachrichten.at', 'nationaljournal.com', 'nature.com', 'nbr.co.nz', 'newcriterion.com', 'news24.com', 'newslaundry.com', 'nn.de', 'nwzonline.de', 'observador.pt', 'ouest-france.fr', 'philonomist.com', 'pnp.de', 'politicopro.com', 'politiken.dk', 'pressreader.com', 'publico.pt', 'quillette.com', 'rbc.ru', 'republic.ru', 'rheinpfalz.de', 'risk.net', 'rnz.de', 'saechsische.de', 'sciencedirect.com', 'springer.com', 'statnews.com', 'stern.de', 'stimme.de', 'streetinsider.com', 'substack.com', 'suedkurier.de', 'swp.de', 'taxation.co.uk', 'taxjournal.com', 'techcrunch.com', 'the-ken.com', 'theinformation.com', 'theinitium.com', 'themorningcontext.com', 'theparisreview.org', 'thestar.com.my', 'thewirechina.com', 'timeslive.co.za', 'weltwoche.ch', 'weltwoche.de', 'wissenschaft.de', 'worldpoliticsreview.com', 'wz.de', 'ynet.co.il', 'zaobao.com.sg'].concat(de_funke_medien_nofix_domains, de_rp_aachen_medien_nofix_domains, de_westfalen_medien_nofix_domains, fr_groupe_ebra_nofix_domains, fr_indigo_nofix_domains, it_gedi_nofix_domains);
|
||||
var nofix_sites = ['11freunde.de', 'aamulehti.fi', 'abendblatt.de', 'aftenposten.no', 'aftonbladet.se', 'allgaeuer-zeitung.de', 'asahi.com', 'asiatimes.com', 'autosport.com', 'aviationweek.com', 'badische-zeitung.de', 'bhaskar.com', 'bloomberglaw.com', 'bloombergtax.com', 'bnef.com', 'bnn.de', 'borsen.dk', 'businessinsider.de', 'businessinsider.jp', 'businesslive.co.za', 'caixin.com', 'caixinglobal.com', 'caravanmagazine.in', 'catalyst-journal.com', 'chegg.com', 'codesports.com.au', 'compactmag.com', 'courrierinternational.com', 'coursehero.com', 'deutsche-wirtschafts-nachrichten.de', 'die-glocke.de', 'dn.no', 'elordenmundial.com', 'entrepreneur.com', 'epw.in', 'expresso.pt', 'falter.at', 'finance.si', 'franc-tireur.fr', 'ftchinese.com', 'ftchineselive.com', 'gamestar.de', 'geo.de', 'golem.de', 'gp.se', 'gva.be', 'handelsblatt.com', 'hbrarabic.com', 'hbrchina.org', 'hbrfrance.fr', 'heise.de', 'hs.fi', 'ilsole24ore.com', 'information.dk', 'investors.com', 'iltalehti.fi', 'jacobin.com', 'jeuneafrique.com', 'jungefreiheit.de', 'kleinezeitung.at', 'laverita.info', 'lavie.fr', 'lavozdegalicia.es', 'law360.co.uk', 'law360.com', 'le1hebdo.fr', 'leconomiste.com', 'lefilmfrancais.com', 'lemonde.fr', 'lequipe.fr', 'lesjours.fr', 'letemps.ch', 'liberation.fr', 'libertiesjournal.com', 'main-echo.de', 'mainpost.de', 'manager-magazin.de', 'medianama.com', 'mediapart.fr', 'milanofinanza.it', 'mittelbayerische.de', 'monde-diplomatique.fr', 'mondediplo.com', 'money.it', 'moneycontrol.com', 'moodys.com', 'morningstar.com', 'motorsport.com', 'moz.de', 'nachrichten.at', 'nationaljournal.com', 'nature.com', 'nbr.co.nz', 'newcriterion.com', 'news24.com', 'newslaundry.com', 'nn.de', 'nwzonline.de', 'observador.pt', 'ouest-france.fr', 'philonomist.com', 'pnp.de', 'politicopro.com', 'politiken.dk', 'pressreader.com', 'publico.pt', 'quillette.com', 'rbc.ru', 'republic.ru', 'rheinpfalz.de', 'risk.net', 'rnz.de', 'saechsische.de', 'sciencedirect.com', 'springer.com', 'statnews.com', 'stern.de', 'stimme.de', 'streetinsider.com', 'substack.com', 'suedkurier.de', 'swp.de', 'taxation.co.uk', 'taxjournal.com', 'techcrunch.com', 'the-ken.com', 'theinformation.com', 'theinitium.com', 'themorningcontext.com', 'theparisreview.org', 'thestar.com.my', 'thewirechina.com', 'timeslive.co.za', 'weltwoche.ch', 'weltwoche.de', 'wissenschaft.de', 'worldpoliticsreview.com', 'wz.de', 'ynet.co.il', 'zaobao.com.sg'].concat(de_funke_medien_nofix_domains, de_rp_aachen_medien_nofix_domains, de_westfalen_medien_nofix_domains, fr_groupe_ebra_nofix_domains, fr_indigo_nofix_domains, it_gedi_nofix_domains);
|
||||
|
|
|
@ -18,6 +18,14 @@
|
|||
"block_regex": "(\\.cm\\.bloomberg\\.com\\/|assets\\.bwbx\\.io\\/s\\d\\/javelin\\/.+\\/transporter\\/)",
|
||||
"upd_version": "3.2.7.1"
|
||||
},
|
||||
"Dn.se": {
|
||||
"domain": "dn.se",
|
||||
"allow_cookies": 1,
|
||||
"add_ext_link": "div.esi-paywall|div.article__content",
|
||||
"add_ext_link_type": "archive.is",
|
||||
"ld_archive_is": "div.esi-paywall|div.article__premium-content|article>div[style='display:block;']",
|
||||
"upd_version": "3.5.3.7"
|
||||
},
|
||||
"Die Zeit": {
|
||||
"domain": "zeit.de",
|
||||
"allow_cookies": 1,
|
||||
|
|
Loading…
Reference in a new issue