mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 01:11:04 +00:00
Remove Daily Nation (no paywall)
This commit is contained in:
parent
d269193543
commit
9cba386735
@ -680,12 +680,6 @@ Grouped in options:\
|
|||||||
[Neue Zürcher Zeitung (+ regional/opt-in to custom sites)](https://www.nzz.ch) -
|
[Neue Zürcher Zeitung (+ regional/opt-in to custom sites)](https://www.nzz.ch) -
|
||||||
[The Market](https://themarket.ch)
|
[The Market](https://themarket.ch)
|
||||||
|
|
||||||
#### Africa
|
|
||||||
|
|
||||||
###### Kenya
|
|
||||||
|
|
||||||
[Daily Nation](https://nation.africa)
|
|
||||||
|
|
||||||
#### Australia/New Zealand
|
#### Australia/New Zealand
|
||||||
|
|
||||||
[Brisbane Times](https://www.brisbanetimes.com.au) -
|
[Brisbane Times](https://www.brisbanetimes.com.au) -
|
||||||
|
@ -5,7 +5,7 @@ var manifestData = ext_api.runtime.getManifest();
|
|||||||
var ext_name = manifestData.name;
|
var ext_name = manifestData.name;
|
||||||
var ext_version = manifestData.version;
|
var ext_version = manifestData.version;
|
||||||
|
|
||||||
const cs_limit_except = ['elespanol.com', 'faz.net', 'globeandmail.com', 'nation.africa', 'nationalgeographic.com'].concat(de_westfalen_medien_domains);
|
const cs_limit_except = ['elespanol.com', 'faz.net', 'globeandmail.com', 'nationalgeographic.com'].concat(de_westfalen_medien_domains);
|
||||||
const dompurify_sites = ['arcinfo.ch', 'asiatimes.com', 'bloomberg.com', 'cicero.de', 'ilmanifesto.it', 'iltalehti.fi', 'iltirreno.it', 'ipolitics.ca', 'italiaoggi.it', 'lanuovasardegna.it', 'lequipe.fr', 'lesechos.fr', 'marianne.net', 'newleftreview.org', 'newscientist.com', 'nzherald.co.nz', 'outlookbusiness.com', 'prospectmagazine.co.uk', 'spectator.co.uk', 'stratfor.com', 'techinasia.com', 'timesofindia.com', 'valor.globo.com', 'vn.nl'].concat(nl_mediahuis_region_domains, no_nhst_media_domains);
|
const dompurify_sites = ['arcinfo.ch', 'asiatimes.com', 'bloomberg.com', 'cicero.de', 'ilmanifesto.it', 'iltalehti.fi', 'iltirreno.it', 'ipolitics.ca', 'italiaoggi.it', 'lanuovasardegna.it', 'lequipe.fr', 'lesechos.fr', 'marianne.net', 'newleftreview.org', 'newscientist.com', 'nzherald.co.nz', 'outlookbusiness.com', 'prospectmagazine.co.uk', 'spectator.co.uk', 'stratfor.com', 'techinasia.com', 'timesofindia.com', 'valor.globo.com', 'vn.nl'].concat(nl_mediahuis_region_domains, no_nhst_media_domains);
|
||||||
var currentTabUrl = '';
|
var currentTabUrl = '';
|
||||||
var csDone = false;
|
var csDone = false;
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
Changelog Bypass Paywalls Clean - Firefox
|
Changelog Bypass Paywalls Clean - Firefox
|
||||||
|
|
||||||
Post-release
|
Post-release
|
||||||
|
Remove Daily Nation (no paywall)
|
||||||
Fix ABC.es (Sevilla)
|
Fix ABC.es (Sevilla)
|
||||||
Fix ESPN USA (link to archive.is)
|
Fix ESPN USA (link to archive.is)
|
||||||
Fix The Athletic (css)
|
Fix The Athletic (css)
|
||||||
|
@ -3136,20 +3136,6 @@ else if (matchDomain('mid-day.com')) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (matchDomain('nation.africa')) {
|
|
||||||
let datawall_content = document.querySelector('.datawall-content');
|
|
||||||
if (datawall_content)
|
|
||||||
datawall_content.classList.remove('datawall-content');
|
|
||||||
let div_hidden = document.querySelectorAll('[data="datawall-content"]');
|
|
||||||
for (let elem of div_hidden)
|
|
||||||
elem.removeAttribute('style');
|
|
||||||
let hidden_images = document.querySelectorAll('img.lazy-img:not([src])[data-srcset]');
|
|
||||||
for (let hidden_image of hidden_images) {
|
|
||||||
hidden_image.classList.remove('lazy-img');
|
|
||||||
hidden_image.setAttribute('src', hidden_image.getAttribute('data-srcset').split(',')[1].split(' ')[0]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
else if (matchDomain('nationalgeographic.com')) {
|
else if (matchDomain('nationalgeographic.com')) {
|
||||||
// plus code in contentScript_once.js
|
// plus code in contentScript_once.js
|
||||||
let url = window.location.href;
|
let url = window.location.href;
|
||||||
|
@ -416,7 +416,6 @@
|
|||||||
"*://*.muensterschezeitung.de/*",
|
"*://*.muensterschezeitung.de/*",
|
||||||
"*://*.mv-voice.com/*",
|
"*://*.mv-voice.com/*",
|
||||||
"*://*.mz.de/*",
|
"*://*.mz.de/*",
|
||||||
"*://*.nation.africa/*",
|
|
||||||
"*://*.nationalgeographic.com/*",
|
"*://*.nationalgeographic.com/*",
|
||||||
"*://*.nationalpost.com/*",
|
"*://*.nationalpost.com/*",
|
||||||
"*://*.nationalreview.com/*",
|
"*://*.nationalreview.com/*",
|
||||||
|
5
sites.js
5
sites.js
@ -337,11 +337,6 @@ var defaultSites = {
|
|||||||
allow_cookies: 1,
|
allow_cookies: 1,
|
||||||
useragent: "googlebot"
|
useragent: "googlebot"
|
||||||
},
|
},
|
||||||
"Daily Nation": {
|
|
||||||
domain: "nation.africa",
|
|
||||||
allow_cookies: 1,
|
|
||||||
block_regex: /(\.evolok\.net\/|nation\.africa\/resource\/themes\/nation-.+\/js\/.+\.js)/
|
|
||||||
},
|
|
||||||
"De Tijd": {
|
"De Tijd": {
|
||||||
domain: "tijd.be",
|
domain: "tijd.be",
|
||||||
referer: "google"
|
referer: "google"
|
||||||
|
Loading…
Reference in New Issue
Block a user