mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 03:51:58 +01:00
Add GB News
This commit is contained in:
parent
bd5c109662
commit
7ac09de35a
7 changed files with 16 additions and 8 deletions
|
@ -460,6 +460,7 @@ Grouped in options:\
|
|||
[Evening Standard](https://www.standard.co.uk) -
|
||||
[Financial News](https://www.fnlondon.com) -
|
||||
[Financial Times](https://www.ft.com) -
|
||||
[GB News](https://www.gbnews.com) -
|
||||
[Granta Magazine](https://granta.com) -
|
||||
[iNews](https://inews.co.uk) -
|
||||
[Investors' Chronicle](https://www.investorschronicle.co.uk) -
|
||||
|
|
|
@ -4,6 +4,7 @@ Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywal
|
|||
|
||||
Post-release
|
||||
Add Courrier international
|
||||
Add GB News
|
||||
Add LeMoniteur.fr (Groupe Infopro Digital)
|
||||
Add Observador.pt
|
||||
Add Pour l'Eco
|
||||
|
|
|
@ -2874,7 +2874,7 @@ else if (document.querySelector('head > link[href="//ppt.promedia.nl"]') || docu
|
|||
else
|
||||
csDone = true;
|
||||
|
||||
} else if ((window.location.hostname.match(/\.(ie|uk)$/) && !matchDomain(['investmentweek.co.uk', 'vogue.co.uk'])) || matchDomain(['apollo-magazine.com', 'autosport.com', 'citywire.com', 'fnlondon.com', 'ft.com', 'granta.com', 'scotsman.com', 'tes.com', 'unherd.com'])) {//united kingdom/ireland
|
||||
} else if ((window.location.hostname.match(/\.(ie|uk)$/) && !matchDomain(['investmentweek.co.uk', 'vogue.co.uk'])) || matchDomain(['apollo-magazine.com', 'autosport.com', 'citywire.com', 'fnlondon.com', 'ft.com', 'gbnews.com', 'granta.com', 'scotsman.com', 'tes.com', 'unherd.com'])) {//united kingdom/ireland
|
||||
|
||||
if (matchDomain('apollo-magazine.com')) {
|
||||
let banner = document.querySelector('#subscribe-ribbon');
|
||||
|
@ -3048,6 +3048,11 @@ else if (matchDomain('ft.com')) {
|
|||
hideDOMElement(...banners);
|
||||
}
|
||||
|
||||
else if (matchDomain('gbnews.com')) {
|
||||
let ads = document.querySelectorAll('div.ad--billboard, div.ad--placeholder');
|
||||
hideDOMElement(...ads);
|
||||
}
|
||||
|
||||
else if (matchDomain('granta.com')) {
|
||||
if (dompurify_loaded)
|
||||
getJsonUrl('div.article-sign-up-container', '', 'div.article-excerpt');
|
||||
|
|
|
@ -51,5 +51,5 @@
|
|||
"webRequestBlocking",
|
||||
"*://*/*"
|
||||
],
|
||||
"version": "3.5.9.7"
|
||||
"version": "3.5.9.8"
|
||||
}
|
||||
|
|
|
@ -272,11 +272,6 @@
|
|||
"block_regex": "loader-cdn\\.azureedge\\.net",
|
||||
"domain": "gazette.com"
|
||||
},
|
||||
"Gbnews.com": {
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "\\.piano\\.io",
|
||||
"domain": "gbnews.com"
|
||||
},
|
||||
"Gplanet.co.il (not lectures)": {
|
||||
"allow_cookies": 1,
|
||||
"domain": "gplanet.co.il",
|
||||
|
|
|
@ -296,6 +296,7 @@
|
|||
"*://*.ftm.nl/*",
|
||||
"*://*.gazetadopovo.com.br/*",
|
||||
"*://*.gazzetta.it/*",
|
||||
"*://*.gbnews.com/*",
|
||||
"*://*.geelongadvertiser.com.au/*",
|
||||
"*://*.gelderlander.nl/*",
|
||||
"*://*.genomeweb.com/*",
|
||||
|
@ -859,5 +860,5 @@
|
|||
"*://archive.vn/*",
|
||||
"*://webcache.googleusercontent.com/*"
|
||||
],
|
||||
"version": "3.5.9.7"
|
||||
"version": "3.5.9.8"
|
||||
}
|
||||
|
|
5
sites.js
5
sites.js
|
@ -868,6 +868,11 @@ var defaultSites = {
|
|||
allow_cookies: 1,
|
||||
block_regex: /(\.tinypass\.com\/|cdn\.cxense\.com\/|cdn\.ampproject\.org\/v\d\/amp-subscriptions-.+\.js)/
|
||||
},
|
||||
"GB News": {
|
||||
domain: "gbnews.com",
|
||||
allow_cookies: 1,
|
||||
block_regex: /\.piano\.io\//
|
||||
},
|
||||
"Glassdoor (regwall)": {
|
||||
domain: "glassdoor.com"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue