Add The Athletic UK & Il Messaggero (Italy)

This commit is contained in:
magnolia1234 2020-03-10 19:36:30 +01:00 committed by GitHub
parent 7b4cf35929
commit 363cc8fe08
5 changed files with 8 additions and 2 deletions

View file

@ -136,6 +136,7 @@
[Financial News](https://www.fnlondon.com) -
[Financial Times](https://www.ft.com) -
[London Review of Books](https://www.lrb.co.uk) -
[The Athletic UK](https://theathletic.com) -
[The Economist](https://www.economist.com) -
[The Irish Times](https://www.irishtimes.com)* -
[The New Statesman](https://www.newstatesman.com) -
@ -157,6 +158,7 @@
[Kleine Zeitung](https://www.kleinezeitung.at)
##### Italy
[Corriere Della Sera](https://www.corriere.it) -
[Il Messaggero](https://www.ilmessaggero.it) -
[La Repubblica](https://www.repubblica.it) -
[La Stampa](https://www.lastampa.it)
##### Netherlands/Flanders

View file

@ -51,6 +51,7 @@ var allow_cookies = [
'techinasia.com',
'telegraph.co.uk',
'the-american-interest.com',
'theathletic.co.uk',
'theathletic.com',
'theaustralian.com.au',
'themarker.com',
@ -109,6 +110,7 @@ const use_google_bot_default = [
'quora.com',
'seekingalpha.com',
'telegraph.co.uk',
'theathletic.co.uk',
'theathletic.com',
'theaustralian.com.au',
'themarker.com',

View file

@ -376,7 +376,7 @@ if (window.location.href.indexOf("sofrep.com") !== -1) {
removeDOMElement(banner);
}
if (window.location.href.indexOf("theathletic.com") !== -1) {
if (window.location.href.indexOf("theathletic.co") !== -1) {
const landing_banner = document.querySelector('.logged-out-landing-banner');
const sample_banner = document.querySelector('.main-sample-banner');
const bottom_banner = document.querySelector('.border-bottom-cc');

View file

@ -54,6 +54,7 @@ var defaultSites =
"Het Financieel Dagblad": "fd.nl",
"Humo.be": "humo.be",
"Inc.com": "inc.com",
"Il Messaggero": "ilmessaggero.it",
"Illawarra Mercury": "illawarramercury.com.au",
"Kleine Zeitung": "kleinezeitung.at",
"L'Écho": "lecho.be",
@ -111,6 +112,7 @@ var defaultSites =
"The Age": "theage.com.au",
"The American Interest": "the-american-interest.com",
"The Athletic": "theathletic.com",
"The Athletic UK": "theathletic.co.uk",
"The Atlantic": "theatlantic.com",
"The Australian Financial Review": "afr.com",
"The Australian": "theaustralian.com.au",

View file

@ -1,4 +1,4 @@
var manifestData = chrome.runtime.getManifest();
var manifestData = browser.runtime.getManifest();
var versionString = 'v' + manifestData.version;
document.getElementById('version').innerText = versionString;