Merge pull request #1 from amraks85/patch-2

Added The Advocate And Examiner
This commit is contained in:
amraks85 2018-09-30 19:41:21 +10:00 committed by GitHub
commit dc92d6946c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 4 deletions

View File

@ -53,7 +53,9 @@ var defaultSites = {
'The Wall Street Journal': 'wsj.com',
'Towards Data Science': 'towardsdatascience.com',
'Vanity Fair': 'vanityfair.com',
'Wired': 'wired.com'
'Wired': 'wired.com',
'The Advocate': 'theadvocate.com.au',
'Examiner': 'examiner.com.au'
};
const restrictions = {
@ -78,7 +80,9 @@ const allow_cookies = [
'newstatesman.com',
'spectator.co.uk',
'towardsdatascience.com',
'medium.com'
'medium.com',
'theadvocate.com.au',
'examiner.com.au'
]
// Removes cookies after page load
@ -97,7 +101,9 @@ const remove_cookies = [
'newstatesman.com',
'spectator.co.uk',
'towardsdatascience.com',
'medium.com'
'medium.com',
'theadvocate.com.au',
'examiner.com.au'
]
function setDefaultOptions() {

View File

@ -51,7 +51,9 @@ var defaultSites = {
'The Wall Street Journal': 'wsj.com',
'Towards Data Science': 'towardsdatascience.com',
'Vanity Fair': 'vanityfair.com',
'Wired': 'wired.com'
'Wired': 'wired.com',
'The Advocate': 'theadvocate.com.au',
'Examiner': 'examiner.com.au'
};
// Saves options to browser.storage