Add Belfast Telegraph

master
magnolia1234 2020-07-05 13:10:47 +02:00
parent d9f97f8c14
commit 59435b38d4
5 changed files with 12 additions and 4 deletions

View File

@ -20,7 +20,7 @@ The following instructions are needed to install third-party extensions in [Chro
4. Go to the extensions page (`chrome://extensions` or `edge://extensions`).
5. Enable Developer Mode.
6. Click `Load unpacked` and select the extension folder.
* in Chrome disable developer mode extensions popup by enabling the extensions toolbar menu under (experimental) chrome flags: chrome://flags/#extensions-toolbar-menu
* in Chrome disable the developer mode extensions popup by enabling the extensions toolbar menu under (experimental) chrome flags: chrome://flags/#extensions-toolbar-menu
#### Android
1. Install [Yandex Browser](https://play.google.com/store/apps/details?id=com.yandex.browser&hl=en) from the Google PlayStore (Bypass Paywalls Clean doesn't work with Kiwi Browser yet).
@ -181,6 +181,7 @@ Visit the [Firefox repository](https://bitbucket.org/magnolia1234/bypass-paywall
#### Europe
##### United Kingdom/Ireland
[Belfast Telegraph](https://www.belfasttelegraph.co.uk) -
[Financial News](https://www.fnlondon.com) -
[Financial Times](https://www.ft.com) -
[Irish Independent](https://www.independent.ie) -
@ -300,6 +301,8 @@ The free article limit can normally be bypassed by removing cookies for the site
1. Install the extension [Disable Cookies](https://chrome.google.com/webstore/detail/disable-cookies/lkmjmficaoifggpfapbffkggecbleang?hl=en).
2. When coming across a paywall, click the cookie icon in your extension toolbar then refresh the page.
If removing the cookies works you can also add the site as a custom site.
_*may not always succeed._
### New site requests

View File

@ -22,6 +22,7 @@ var allow_cookies = [
'abc.es',
'adelaidenow.com.au',
'aftonbladet.se',
'belfasttelegraph.co.uk',
'bostonglobe.com',
'business-standard.com',
'cairnspost.com.au',
@ -153,6 +154,7 @@ var blockedRegexes = {
'afr.com': /afr\.com\/assets\/vendorsReactRedux_client.+\.js/,
'americanbanker.com': /.+\.tinypass\.com\/.+/,
'barrons.com': /cdn\.ampproject\.org\/v\d\/amp-access-.+\.js/,
'belfasttelegraph.co.uk': /cdn\.flip-pay\.com\/clients\/inm\/flip-pay\.js/,
'bloomberg.com': /.+\.tinypass\.com\/.+/,
'bostonglobe.com': /meter\.bostonglobe\.com\/js\/.+/,
'businessinsider.com': /(.+\.tinypass\.com\/.+|cdn\.onesignal\.com\/sdks\/.+\.js)/,

View File

@ -689,9 +689,10 @@ else if (matchDomain('historyextra.com')) {
removeDOMElement(ad_banner);
}
else if (matchDomain('independent.ie')) {
else if (matchDomain(['independent.ie', 'belfasttelegraph.co.uk'])) {
let domain = matchDomain(['independent.ie', 'belfasttelegraph.co.uk']);
if (!cookieExists('subscriber')) {
setCookie('subscriber', '{"subscriptionStatus": true}', 'www.independent.ie', '/', 14);
setCookie('subscriber', '{"subscriptionStatus": true}', domain, '/', 14);
}
}

View File

@ -34,6 +34,7 @@
"*://*.atavist.com/*",
"*://*.baltimoresun.com/*",
"*://*.barrons.com/*",
"*://*.belfasttelegraph.co.uk/*",
"*://*.bendigoadvertiser.com.au/*",
"*://*.bizjournals.com/*",
"*://*.bloomberg.com/*",

View File

@ -3,13 +3,14 @@ var defaultSites =
"ABC.es": "abc.es",
"Adweek": "adweek.com",
"Aftonbladet": "aftonbladet.se",
"Algemeen Dagblad": "ad.nl",
"Algemeen Dagblad (+ regional)": "ad.nl",
"American Affairs": "americanaffairsjournal.org",
"American Banker": "americanbanker.com",
"Atavist Magazine": "atavist.com",
"Baltimore Sun": "baltimoresun.com",
"Barron's": "barrons.com",
"BBC History Extra": "historyextra.com",
"Belfast Telegraph": "belfasttelegraph.co.uk",
"Bendigo Advertiser": "bendigoadvertiser.com.au",
"Bloomberg": "bloomberg.com",
"Bloomberg Quint (free articles only)": "bloombergquint.com",