Add Daily Nation (Kenya)
parent
c92cd9cef7
commit
78f2a05e74
|
@ -434,6 +434,12 @@ Grupo Vocento (ABC) regional sites like
|
|||
##### Switzerland
|
||||
[Neue Zürcher Zeitung](https://www.nzz.ch)
|
||||
|
||||
#### Africa
|
||||
|
||||
###### Kenya
|
||||
|
||||
[Daily Nation](https://nation.africa)
|
||||
|
||||
#### Australia/New Zealand
|
||||
|
||||
[Brisbane Times](https://www.brisbanetimes.com.au) -
|
||||
|
@ -526,6 +532,7 @@ For example:
|
|||
[L'Orient-Le Jour](https://www.lorientlejour.com)
|
||||
|
||||
#### Latin America
|
||||
|
||||
##### Argentina
|
||||
[Ámbito](https://www.ambito.com) -
|
||||
[Clarín](https://www.clarin.com) -
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
var ext_api = (typeof browser === 'object') ? browser : chrome;
|
||||
var ext_name = ext_api.runtime.getManifest().name;
|
||||
|
||||
const cs_limit_except = ['inkl.com', 'la-croix.com'];
|
||||
const cs_limit_except = ['inkl.com', 'la-croix.com', 'nation.africa'];
|
||||
var currentTabUrl = '';
|
||||
var csDone = false;
|
||||
|
||||
|
@ -89,6 +89,7 @@ var allow_cookies_default = [
|
|||
'marketwatch.com',
|
||||
'medium.com',
|
||||
'modernhealthcare.com',
|
||||
'nation.africa',
|
||||
'nationalgeographic.com',
|
||||
'nationalpost.com',
|
||||
'nationalreview.com',
|
||||
|
@ -302,6 +303,7 @@ var blockedRegexes = {
|
|||
'marketwatch.com': /(cdn\.cxense\.com\/|cdn\.ampproject\.org\/v\d\/amp-(access|ad)-.+\.js)/,
|
||||
'mercuriovalpo.cl': /(.+\.mercuriovalpo\.cl\/impresa\/.+\/assets\/(vendor|\d)\.js|pram\.pasedigital\.cl\/API\/User\/Status\?)/,
|
||||
'modernhealthcare.com': /\.tinypass\.com\/.+/,
|
||||
'nation.africa': /(\.evolok\.net\/|nation\.africa\/resource\/themes\/nation-.+\/js\/.+\.js)/,
|
||||
'nationalgeographic.com': /.+\.blueconic\.net\/.+/,
|
||||
'nationalpost.com': /\.tinypass\.com\/.+/,
|
||||
'nationalreview.com': /(.+\.blueconic\.net\/.+|cdn\.ampproject\.org\/v\d\/amp-(access|ad)-.+\.js)/,
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
Changelog Bypass Paywalls Clean - Chrome
|
||||
|
||||
Post-release
|
||||
Add Daily Nation (Kenya)
|
||||
Add Schleswig-Holsteinischer Zeitungsverlag (Germany)
|
||||
Add Sports Illustrated
|
||||
Fix incognito window (cookies)
|
||||
|
|
|
@ -2125,6 +2125,20 @@ else if (matchDomain('augsburger-allgemeine.de')) {
|
|||
}
|
||||
}
|
||||
|
||||
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(['belfasttelegraph.co.uk', 'independent.ie']))
|
||||
csDone = true;
|
||||
|
||||
|
|
|
@ -124,6 +124,7 @@
|
|||
"*://*.elnortedecastilla.es/*",
|
||||
"*://*.elpais.com/*",
|
||||
"*://*.elperiodico.com/*",
|
||||
"*://*.esprit.presse.fr/*",
|
||||
"*://*.estadao.com.br/*",
|
||||
"*://*.estrellavalpo.cl/*",
|
||||
"*://*.estrepublicain.fr/*",
|
||||
|
@ -264,6 +265,7 @@
|
|||
"*://*.modernhealthcare.com/*",
|
||||
"*://*.morgenpost.de/*",
|
||||
"*://*.mv-voice.com/*",
|
||||
"*://*.nation.africa/*",
|
||||
"*://*.nationalgeographic.com/*",
|
||||
"*://*.nationalpost.com/*",
|
||||
"*://*.nationalreview.com/*",
|
||||
|
@ -424,7 +426,6 @@
|
|||
"*://*.wr.de/*",
|
||||
"*://*.wsj.com/*",
|
||||
"*://*.zeit.de/*",
|
||||
"*://esprit.presse.fr/*",
|
||||
"*://*.ampproject.org/*",
|
||||
"*://*.blueconic.net/*",
|
||||
"*://*.cxense.com/*",
|
||||
|
@ -461,5 +462,5 @@
|
|||
"*://*.userzoom.com/*",
|
||||
"*://*.wsj.net/*"
|
||||
],
|
||||
"version": "2.0.8.4"
|
||||
"version": "2.0.8.5"
|
||||
}
|
Loading…
Reference in New Issue