Add The Point Magazine

This commit is contained in:
magnolia1234 2021-01-22 14:33:25 +01:00
parent 2ddbd595da
commit 2603128a2a
6 changed files with 13 additions and 2 deletions

View file

@ -104,6 +104,7 @@ Visit the [Chrome repository](https://gitlab.com/magnolia1234/bypass-paywalls-ch
[Slate](https://slate.com) -
[SofRep](https://sofrep.com) -
[The Daily Beast](https://www.thedailybeast.com)* -
[The Point Magazine](https://thepointmag.com) -
[Vanity Fair](https://www.vanityfair.com) -
[Variety](https://variety.com)

View file

@ -4,7 +4,7 @@
var ext_api = (typeof browser === 'object') ? browser : chrome;
var ext_name = ext_api.runtime.getManifest().name;
const cs_limit_except = ['afr.com', 'discovermagazine.com', 'elcomercio.pe', 'elpais.com', 'faz.net', 'gestion.pe', 'harpers.org', 'inkl.com', 'la-croix.com', 'lescienze.it', 'newleftreview.org', 'prospectmagazine.co.uk', 'techinasia.com'];
const cs_limit_except = ['afr.com', 'discovermagazine.com', 'elcomercio.pe', 'elpais.com', 'faz.net', 'gestion.pe', 'harpers.org', 'inkl.com', 'la-croix.com', 'lescienze.it', 'newleftreview.org', 'prospectmagazine.co.uk', 'techinasia.com', 'thepointmag.com'];
var currentTabUrl = '';
var csDone = false;
@ -146,7 +146,8 @@ var remove_cookies_select_drop = {
'dn.se': ['randomSplusId'],
'fd.nl': ['socialread'],
'nrc.nl': ['counter'],
'theatlantic.com': ['articleViews']
'theatlantic.com': ['articleViews'],
'thepointmag.com': ['monthly_history']
}
// Override User-Agent with Googlebot

View file

@ -6,6 +6,7 @@ Add Correio da Manha (Portugal)
Add Observador (Portugal)
Add Prospect Magazine (United Kingdom)
Add Ruhr Nachrichten (Germany)
Add The Point Magazine
Fix-update El Pais (Spain)
Fix-update MIT Sloan Management Review
Update block TinyPass (all subdomains)

View file

@ -2033,6 +2033,12 @@ else if (matchDomain('prospectmagazine.co.uk')) {
});
}
else if (matchDomain('thepointmag.com')) {
let overlay = document.querySelectorAll('div.overlay, div#tpopup-');
for (let elem of overlay)
removeDOMElement(elem);
}
else if (!matchDomain(['belfasttelegraph.co.uk', 'independent.ie']))
csDone = true;

View file

@ -365,6 +365,7 @@
"*://*.themorningbulletin.com.au/*",
"*://*.thenation.com/*",
"*://*.thepeterboroughexaminer.com/*",
"*://*.thepointmag.com/*",
"*://*.therecord.com/*",
"*://*.thesaturdaypaper.com.au/*",
"*://*.thespec.com/*",

View file

@ -218,6 +218,7 @@ var defaultSites =
"The New Yorker": "newyorker.com",
"The News-Gazette": "news-gazette.com",
"The Philadelphia Inquirer": "inquirer.com",
"The Point Magazine": "thepointmag.com",
"The Sacramento Bee": "sacbee.com",
"The Saturday Paper": "thesaturdaypaper.com.au",
"The Seattle Times": "seattletimes.com",