mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 04:01:58 +01:00
Add NYmag-sites Grub Street, The Cut & Vulture
This commit is contained in:
parent
097d51659c
commit
416a07193e
5 changed files with 24 additions and 3 deletions
|
@ -100,7 +100,7 @@ So don't update to Firefox 79 or use F-droid's [Fennec-release](https://f-droid.
|
|||
[Los Angeles Times](https://www.latimes.com) -
|
||||
[Miami Herald](https://www.miamiherald.com) -
|
||||
[Mountain View Voice](https://www.mv-voice.com) -
|
||||
[New York Magazine](https://www.nymag.com) -
|
||||
[[New York Magazine](https://www.nymag.com) (& [Grub Street](https://www.grubstreet.com), [The Cut](https://www.thecut.com) & [Vulture](https://www.vulture.com)) -
|
||||
[Orange County Register](https://www.ocregister.com) -
|
||||
[Orlando Sentinel](https://www.orlandosentinel.com) -
|
||||
[Palo Alto Online](https://www.paloaltoonline.com) -
|
||||
|
|
|
@ -248,6 +248,7 @@ var blockedRegexes = {
|
|||
const au_comm_media_domains = ['bendigoadvertiser.com.au', 'bordermail.com.au', 'canberratimes.com.au', 'centralwesterndaily.com.au', 'dailyadvertiser.com.au', 'dailyliberal.com.au', 'examiner.com.au', 'illawarramercury.com.au', 'newcastleherald.com.au', 'northerndailyleader.com.au', 'portnews.com.au', 'standard.net.au', 'theadvocate.com.au', 'thecourier.com.au', 'westernadvocate.com.au'];
|
||||
const au_news_corp_domains = ['adelaidenow.com.au', 'cairnspost.com.au', 'couriermail.com.au', 'dailytelegraph.com.au', 'geelongadvertiser.com.au', 'goldcoastbulletin.com.au', 'heraldsun.com.au', 'ntnews.com.au', 'theaustralian.com.au', 'themercury.com.au', 'townsvillebulletin.com.au', 'weeklytimesnow.com.au'];
|
||||
const au_prov_news_domains = ['news-mail.com.au', 'frasercoastchronicle.com.au', 'gladstoneobserver.com.au', 'dailyexaminer.com.au', 'dailymercury.com.au', 'themorningbulletin.com.au', 'sunshinecoastdaily.com.au', 'gympietimes.com.au', 'northernstar.com.au', 'qt.com.au', 'thechronicle.com.au', 'warwickdailynews.com.au'];
|
||||
const nymag_domains = ['grubstreet.com', 'thecut.com', 'vulture.com'];
|
||||
|
||||
const userAgentDesktop = "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
|
||||
const userAgentMobile = "Chrome/41.0.2272.96 Mobile Safari/537.36 (compatible ; Googlebot/2.1 ; +http://www.google.com/bot.html)"
|
||||
|
@ -298,6 +299,16 @@ ext_api.storage.sync.get({
|
|||
disabledSites = defaultSites_domains.concat(customSites_domains).filter(x => !enabledSites.includes(x) && x !== '###');
|
||||
if (enabledSites.includes('ad.nl'))
|
||||
enabledSites = enabledSites.concat(ad_region_domains);
|
||||
else
|
||||
disabledSites = disabledSites.concat(ad_region_domains);
|
||||
if (enabledSites.includes('nymag.com')) {
|
||||
enabledSites = enabledSites.concat(nymag_domains);
|
||||
for (let domain of nymag_domains) {
|
||||
allow_cookies.push(domain);
|
||||
remove_cookies.push(domain);
|
||||
}
|
||||
} else
|
||||
disabledSites = disabledSites.concat(nymag_domains);
|
||||
if (enabledSites.includes('###_au_comm_media')) {
|
||||
enabledSites = enabledSites.concat(au_comm_media_domains);
|
||||
for (let domain of au_comm_media_domains) {
|
||||
|
@ -345,6 +356,12 @@ ext_api.storage.onChanged.addListener(function (changes, namespace) {
|
|||
disabledSites = defaultSites_domains.concat(customSites_domains).filter(x => !enabledSites.includes(x) && x !== '###');
|
||||
if (enabledSites.includes('ad.nl'))
|
||||
enabledSites = enabledSites.concat(ad_region_domains);
|
||||
else
|
||||
disabledSites = disabledSites.concat(ad_region_domains);
|
||||
if (enabledSites.includes('nymag.com'))
|
||||
enabledSites = enabledSites.concat(nymag_domains);
|
||||
else
|
||||
disabledSites = disabledSites.concat(nymag_domains);
|
||||
if (enabledSites.includes('###_au_comm_media'))
|
||||
enabledSites = enabledSites.concat(au_comm_media_domains);
|
||||
else
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
Changelog Bypass Paywalls Clean - Firefox
|
||||
|
||||
Post-release
|
||||
Add NYmag-sites Grub Street, The Cut & Vulture
|
||||
Add Quotidiano.net (Italy)
|
||||
Add The West Australian (+ regional)
|
||||
Fix-update Toronto Star (external cookie-script)
|
||||
|
|
|
@ -121,6 +121,7 @@
|
|||
"*://*.globo.com/*",
|
||||
"*://*.goldcoastbulletin.com.au/*",
|
||||
"*://*.groene.nl/*",
|
||||
"*://*.grubstreet.com/*",
|
||||
"*://*.gympietimes.com.au/*",
|
||||
"*://*.haaretz.co.il/*",
|
||||
"*://*.haaretz.com/*",
|
||||
|
@ -249,6 +250,7 @@
|
|||
"*://*.theaustralian.com.au/*",
|
||||
"*://*.thechronicle.com.au/*",
|
||||
"*://*.thecourier.com.au/*",
|
||||
"*://*.thecut.com/*",
|
||||
"*://*.thedailybeast.com/*",
|
||||
"*://*.thediplomat.com/*",
|
||||
"*://*.theglobeandmail.com/*",
|
||||
|
@ -270,6 +272,7 @@
|
|||
"*://*.vanityfair.com/*",
|
||||
"*://*.variety.com/*",
|
||||
"*://*.volkskrant.nl/*",
|
||||
"*://*.vulture.com/*",
|
||||
"*://*.warwickdailynews.com.au/*",
|
||||
"*://*.washingtonpost.com/*",
|
||||
"*://*.watoday.com.au/*",
|
||||
|
@ -326,5 +329,5 @@
|
|||
"webRequest",
|
||||
"webRequestBlocking"
|
||||
],
|
||||
"version": "1.9.0.5"
|
||||
"version": "1.9.0.6"
|
||||
}
|
2
sites.js
2
sites.js
|
@ -116,7 +116,7 @@ var defaultSites =
|
|||
"Nautilus": "nautil.us",
|
||||
"Neue Ruhr Zeitung": "nrz.de",
|
||||
"Neue Zürcher Zeitung": "nzz.ch",
|
||||
"New York Magazine": "nymag.com",
|
||||
"New York Magazine (+ Grub Street, The Cut & Vulture)": "nymag.com",
|
||||
"New Zealand Herald": "nzherald.co.nz",
|
||||
"Newsweek": "newsweek.com",
|
||||
"Nikkei Asian Review": "asia.nikkei.com",
|
||||
|
|
Loading…
Reference in a new issue