mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 07:37:47 +01:00
Remove DN.no
This commit is contained in:
parent
d8a84217bc
commit
3ed2cd2601
7 changed files with 10 additions and 46 deletions
|
@ -722,7 +722,6 @@ Grouped in options:\
|
||||||
[Libelle.be](https://www.libelle.be)
|
[Libelle.be](https://www.libelle.be)
|
||||||
|
|
||||||
##### Norway
|
##### Norway
|
||||||
[DN](https://www.dn.no)\
|
|
||||||
Grouped in options:\
|
Grouped in options:\
|
||||||
*NHST Media Group* sites like\
|
*NHST Media Group* sites like\
|
||||||
[Europower](https://www.europower-energi.no) -
|
[Europower](https://www.europower-energi.no) -
|
||||||
|
|
|
@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox
|
||||||
Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases
|
Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases
|
||||||
|
|
||||||
Post-release
|
Post-release
|
||||||
|
Remove DN.no (fix obsolete)
|
||||||
Fix Mediahuis Noord (json)
|
Fix Mediahuis Noord (json)
|
||||||
|
|
||||||
* v3.3.0.0 (2023-08-20)
|
* v3.3.0.0 (2023-08-20)
|
||||||
|
|
|
@ -3541,42 +3541,6 @@ else if (matchDomain('discovermagazine.com')) {
|
||||||
}, 1000);
|
}, 1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (matchDomain('dn.no')) {
|
|
||||||
let url = window.location.href;
|
|
||||||
let paywall = document.querySelector('div#dn-ncp-popup, div.paywall, iframe[title="Paywall"]');
|
|
||||||
if (paywall) {
|
|
||||||
removeDOMElement(paywall);
|
|
||||||
let article_sel = 'article';
|
|
||||||
let article = document.querySelector(article_sel);
|
|
||||||
if (article) {
|
|
||||||
let url_cache = 'https://webcache.googleusercontent.com/search?q=cache:' + url.split('?')[0];
|
|
||||||
replaceDomElementExt(url_cache, true, false, article_sel);
|
|
||||||
} else {
|
|
||||||
article = document.querySelector('main#main-story, main.lp_article_content');
|
|
||||||
if (article)
|
|
||||||
article.firstChild.before(googleWebcacheLink(url));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
window.setTimeout(function () {
|
|
||||||
let preview = document.querySelector('html.dn-preview-page');
|
|
||||||
if (preview)
|
|
||||||
preview.removeAttribute('class');
|
|
||||||
let infobox_content = document.querySelector('div.infobox__content');
|
|
||||||
if (infobox_content)
|
|
||||||
infobox_content.removeAttribute('class');
|
|
||||||
let lazy_images = document.querySelectorAll('img[class*="lazy"][data-srcset]:not([src])');
|
|
||||||
for (let elem of lazy_images) {
|
|
||||||
elem.src = elem.getAttribute('data-srcset').split(' ')[0];
|
|
||||||
if (elem.classList.contains('lazy'))
|
|
||||||
elem.classList.remove('lazy');
|
|
||||||
else
|
|
||||||
elem.removeAttribute('class');
|
|
||||||
}
|
|
||||||
let ads = document.querySelectorAll('div[id^="googlead-"]');
|
|
||||||
removeDOMElement(...ads);
|
|
||||||
}, 1000);
|
|
||||||
}
|
|
||||||
|
|
||||||
else if (matchDomain('economictimes.com')) {
|
else if (matchDomain('economictimes.com')) {
|
||||||
if (window.location.pathname.includes('/amp_')) {
|
if (window.location.pathname.includes('/amp_')) {
|
||||||
let paywall = document.querySelector('.paywall_wrap');
|
let paywall = document.querySelector('.paywall_wrap');
|
||||||
|
|
|
@ -51,5 +51,5 @@
|
||||||
"webRequestBlocking",
|
"webRequestBlocking",
|
||||||
"*://*/*"
|
"*://*/*"
|
||||||
],
|
],
|
||||||
"version": "3.3.0.1"
|
"version": "3.3.0.2"
|
||||||
}
|
}
|
||||||
|
|
|
@ -153,6 +153,12 @@
|
||||||
"block_regex": "\\.eviemagazine\\.com\\/api\\/trpc\\/post\\.paywall",
|
"block_regex": "\\.eviemagazine\\.com\\/api\\/trpc\\/post\\.paywall",
|
||||||
"domain": "eviemagazine.com"
|
"domain": "eviemagazine.com"
|
||||||
},
|
},
|
||||||
|
"Ewmagazine.nl": {
|
||||||
|
"add_ext_link": "div.paywall|div.entry-content",
|
||||||
|
"add_ext_link_type": "archive.is",
|
||||||
|
"allow_cookies": 1,
|
||||||
|
"domain": "ewmagazine.nl"
|
||||||
|
},
|
||||||
"Fastcompany.com": {
|
"Fastcompany.com": {
|
||||||
"allow_cookies": 1,
|
"allow_cookies": 1,
|
||||||
"block_regex": "\\.tinypass\\.com",
|
"block_regex": "\\.tinypass\\.com",
|
||||||
|
|
|
@ -198,7 +198,6 @@
|
||||||
"*://*.diariovasco.com/*",
|
"*://*.diariovasco.com/*",
|
||||||
"*://*.digiday.com/*",
|
"*://*.digiday.com/*",
|
||||||
"*://*.discovermagazine.com/*",
|
"*://*.discovermagazine.com/*",
|
||||||
"*://*.dn.no/*",
|
|
||||||
"*://*.dna.fr/*",
|
"*://*.dna.fr/*",
|
||||||
"*://*.dvhn.nl/*",
|
"*://*.dvhn.nl/*",
|
||||||
"*://*.eastbaytimes.com/*",
|
"*://*.eastbaytimes.com/*",
|
||||||
|
@ -790,5 +789,5 @@
|
||||||
"*://*.wyleex.com/*",
|
"*://*.wyleex.com/*",
|
||||||
"*://webcache.googleusercontent.com/*"
|
"*://webcache.googleusercontent.com/*"
|
||||||
],
|
],
|
||||||
"version": "3.3.0.1"
|
"version": "3.3.0.2"
|
||||||
}
|
}
|
||||||
|
|
7
sites.js
7
sites.js
|
@ -473,11 +473,6 @@ var defaultSites = {
|
||||||
"Discover Magazine": {
|
"Discover Magazine": {
|
||||||
domain: "discovermagazine.com"
|
domain: "discovermagazine.com"
|
||||||
},
|
},
|
||||||
"DN.no (cached articles only)": {
|
|
||||||
domain: "dn.no",
|
|
||||||
allow_cookies: 1,
|
|
||||||
cs_dompurify: 1
|
|
||||||
},
|
|
||||||
"Domani": {
|
"Domani": {
|
||||||
domain: "editorialedomani.it",
|
domain: "editorialedomani.it",
|
||||||
allow_cookies: 1,
|
allow_cookies: 1,
|
||||||
|
@ -2685,4 +2680,4 @@ init_custom_flex_domains();
|
||||||
// sites with no fix (background)
|
// sites with no fix (background)
|
||||||
var it_gedi_nofix_domains = ['gelocal.it', 'huffingtonpost.it', 'ilsecoloxix.it', 'limesonline.com', 'repubblica.it'];
|
var it_gedi_nofix_domains = ['gelocal.it', 'huffingtonpost.it', 'ilsecoloxix.it', 'limesonline.com', 'repubblica.it'];
|
||||||
var uk_delinian_nofix_domains = ['insidepandc.com', 'thedeal.com'];
|
var uk_delinian_nofix_domains = ['insidepandc.com', 'thedeal.com'];
|
||||||
var nofix_sites = ['aamulehti.fi', 'africaintelligence.com', 'africaintelligence.fr', 'aftonbladet.se', 'aftenposten.no', 'allgaeuer-zeitung.de', 'asiatimes.com', 'autosport.com', 'badische-zeitung.de', 'bild.de', 'bloomberglaw.com', 'bloombergtax.com', 'borsen.dk', 'businessinsider.de', 'businesslive.co.za', 'businesstimes.com.sg', 'caixin.com', 'caixinglobal.com', 'caravanmagazine.in', 'catalyst-journal.com', 'compactmag.com', 'courrierinternational.com', 'deutsche-wirtschafts-nachrichten.de', 'diepresse.com', 'dn.se', 'elordenmundial.com', 'epw.in', 'expresso.pt', 'finance.si', 'ftchinese.com', 'gamestar.de', 'geo.de', 'golem.de', 'handelsblatt.com', 'heise.de', 'hs.fi', 'ilsole24ore.com', 'investors.com', 'iltalehti.fi', 'jacobinmag.com', 'jeuneafrique.com', 'kleinezeitung.at', 'lavie.fr', 'lavozdegalicia.es', 'law360.com', 'le1hebdo.fr', 'lefigaro.fr', 'leconomiste.com', 'lefilmfrancais.com', 'lemonde.fr', 'lepoint.fr', 'lequipe.fr', 'lesjours.fr', 'letemps.ch', 'liberation.fr', 'limburger.nl', 'lopinion.fr', 'mainpost.de', 'medianama.com', 'mediapart.fr', 'milanofinanza.it', 'mittelbayerische.de', 'monde-diplomatique.fr', 'mondediplo.com', 'moneycontrol.com', 'morningstar.com', 'nachrichten.at', 'nationaljournal.com', 'manager-magazin.de', 'mz.de', 'nature.com', 'nbr.co.nz', 'nn.de', 'ouest-france.fr', 'philonomist.com', 'pnp.de', 'politicopro.com', 'politiken.dk', 'pressreader.com', 'publico.pt', 'quillette.com', 'republic.ru', 'rheinpfalz.de', 'risk.net', 'rnz.de', 'saechsische.de', 'statnews.com', 'stern.de', 'stimme.de', 'straitstimes.com', 'stratfor.com', 'substack.com', 'sueddeutsche.de', 'suedkurier.de', 'swp.de', 'tagesspiegel.de', 'techcrunch.com', 'the-ken.com', 'theinformation.com', 'theinitium.com', 'themorningcontext.com', 'theparisreview.org', 'thewirechina.com', 'volksstimme.de', 'welt.de', 'weser-kurier.de', 'wiwo.de', 'worldpoliticsreview.com', 'ynet.co.il'].concat(it_gedi_nofix_domains, uk_delinian_nofix_domains);
|
var nofix_sites = ['aamulehti.fi', 'africaintelligence.com', 'africaintelligence.fr', 'aftonbladet.se', 'aftenposten.no', 'allgaeuer-zeitung.de', 'asiatimes.com', 'autosport.com', 'badische-zeitung.de', 'bild.de', 'bloomberglaw.com', 'bloombergtax.com', 'borsen.dk', 'businessinsider.de', 'businesslive.co.za', 'businesstimes.com.sg', 'caixin.com', 'caixinglobal.com', 'caravanmagazine.in', 'catalyst-journal.com', 'compactmag.com', 'courrierinternational.com', 'deutsche-wirtschafts-nachrichten.de', 'diepresse.com', 'dn.no', 'dn.se', 'elordenmundial.com', 'epw.in', 'expresso.pt', 'finance.si', 'ftchinese.com', 'gamestar.de', 'geo.de', 'golem.de', 'handelsblatt.com', 'heise.de', 'hs.fi', 'ilsole24ore.com', 'investors.com', 'iltalehti.fi', 'jacobinmag.com', 'jeuneafrique.com', 'kleinezeitung.at', 'lavie.fr', 'lavozdegalicia.es', 'law360.com', 'le1hebdo.fr', 'lefigaro.fr', 'leconomiste.com', 'lefilmfrancais.com', 'lemonde.fr', 'lepoint.fr', 'lequipe.fr', 'lesjours.fr', 'letemps.ch', 'liberation.fr', 'limburger.nl', 'lopinion.fr', 'mainpost.de', 'medianama.com', 'mediapart.fr', 'milanofinanza.it', 'mittelbayerische.de', 'monde-diplomatique.fr', 'mondediplo.com', 'moneycontrol.com', 'morningstar.com', 'nachrichten.at', 'nationaljournal.com', 'manager-magazin.de', 'mz.de', 'nature.com', 'nbr.co.nz', 'nn.de', 'ouest-france.fr', 'philonomist.com', 'pnp.de', 'politicopro.com', 'politiken.dk', 'pressreader.com', 'publico.pt', 'quillette.com', 'republic.ru', 'rheinpfalz.de', 'risk.net', 'rnz.de', 'saechsische.de', 'statnews.com', 'stern.de', 'stimme.de', 'straitstimes.com', 'stratfor.com', 'substack.com', 'sueddeutsche.de', 'suedkurier.de', 'swp.de', 'tagesspiegel.de', 'techcrunch.com', 'the-ken.com', 'theinformation.com', 'theinitium.com', 'themorningcontext.com', 'theparisreview.org', 'thewirechina.com', 'volksstimme.de', 'welt.de', 'weser-kurier.de', 'wiwo.de', 'worldpoliticsreview.com', 'ynet.co.il'].concat(it_gedi_nofix_domains, uk_delinian_nofix_domains);
|
||||||
|
|
Loading…
Reference in a new issue