mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 07:07:47 +01:00
Add Fresno Bee (USA)
This commit is contained in:
parent
6bdc8771cc
commit
b181833ccf
6 changed files with 10 additions and 6 deletions
|
@ -100,6 +100,7 @@ So don't update to Firefox 79 or use F-droid's [Fennec-release](https://f-droid.
|
|||
[SunSentinel](https://www.sun-sentinel.com) -
|
||||
[The Boston Globe](https://www.bostonglobe.com) -
|
||||
[The Denver Post](https://www.denverpost.com) -
|
||||
[The Fresno Bee](https://www.fresnobee.com) -
|
||||
[The Mercury News](https://www.mercurynews.com) -
|
||||
[The Morning Call](https://www.mcall.com) -
|
||||
[The Seattle Times](https://www.seattletimes.com) -
|
||||
|
|
|
@ -169,6 +169,7 @@ var blockedRegexes = {
|
|||
'fortune.com': /.+\.tinypass\.com\/.+/,
|
||||
'ft.com': /.+\.ft\.com\/__assets\/hashed\/page-kit\/shared\.volatile\..+\.bundle\.js/,
|
||||
'ftm.nl': /.+\.ftm\.nl\/js\/routing\?/,
|
||||
'fresnobee.com': /cdn\.ampproject\.org\/v\d\/amp-subscriptions-.+\.js/,
|
||||
'gestion.pe': /gestion\.pe\/pf\/dist\/template\/gestion-noticia.+\.js/,
|
||||
'globes.co.il': /.+\.tinypass\.com\/.+/,
|
||||
'haaretz.co.il': /haaretz\.co\.il\/htz\/js\/inter\.js/,
|
||||
|
|
|
@ -1026,13 +1026,13 @@ else if (matchDomain("discovermagazine.com")) {
|
|||
removeDOMElement(banner);
|
||||
}
|
||||
|
||||
else if (matchDomain("sacbee.com")) {
|
||||
else if (domain = matchDomain(["fresnobee.com", "sacbee.com"])) {
|
||||
let url = window.location.href;
|
||||
if (url.includes('account.sacbee.com/paywall/')) {
|
||||
if (url.includes('account.' + domain + '/paywall/')) {
|
||||
window.setTimeout(function () {
|
||||
window.location.href = 'https://amp.sacbee.com/article' + url.split('resume=')[1].split('#')[0] + '.html';
|
||||
window.location.href = 'https://amp.' + domain + '/article' + url.split('resume=')[1].split('#')[0] + '.html';
|
||||
}, 500); // Delay (in milliseconds)
|
||||
} else if (url.includes('amp.sacbee.com')) {
|
||||
} else if (url.includes('amp.' + domain)) {
|
||||
let subscr_sections = document.querySelectorAll('div[subscriptions-section="content"]');
|
||||
for (let subscr_section of subscr_sections) {
|
||||
subscr_section.removeAttribute('subscriptions-section');
|
||||
|
|
|
@ -103,6 +103,7 @@
|
|||
"*://*.foreignpolicy.com/*",
|
||||
"*://*.fortune.com/*",
|
||||
"*://*.frasercoastchronicle.com.au/*",
|
||||
"*://*.fresnobee.com/*",
|
||||
"*://*.ft.com/*",
|
||||
"*://*.ftm.nl/*",
|
||||
"*://*.geelongadvertiser.com.au/*",
|
||||
|
@ -303,5 +304,5 @@
|
|||
"webRequest",
|
||||
"webRequestBlocking"
|
||||
],
|
||||
"version": "1.8.3.1"
|
||||
"version": "1.8.3.2"
|
||||
}
|
|
@ -40,5 +40,5 @@
|
|||
"webRequest",
|
||||
"webRequestBlocking"
|
||||
],
|
||||
"version": "1.8.3.1"
|
||||
"version": "1.8.3.2"
|
||||
}
|
1
sites.js
1
sites.js
|
@ -156,6 +156,7 @@ var defaultSites =
|
|||
"The Denver Post": "denverpost.com",
|
||||
"The Diplomat": "thediplomat.com",
|
||||
"The Economist": "economist.com",
|
||||
"The Fresno Bee": "fresnobee.com",
|
||||
"The Globe and Mail": "theglobeandmail.com",
|
||||
"The Hindu": "thehindu.com",
|
||||
"The Irish Times": "irishtimes.com",
|
||||
|
|
Loading…
Reference in a new issue