mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 06:17:46 +01:00
Add Advance Local (local USA)
This commit is contained in:
parent
97671b3e07
commit
e015c4f61e
5 changed files with 62 additions and 6 deletions
11
README.md
11
README.md
|
@ -186,6 +186,17 @@ Grouped in options:\
|
||||||
|
|
||||||
[USA Today](https://www.usatoday.com)\
|
[USA Today](https://www.usatoday.com)\
|
||||||
Grouped in options:\
|
Grouped in options:\
|
||||||
|
*Advance Local* sites like:\
|
||||||
|
[AL/Alabama](https://www.al.com) -
|
||||||
|
[MLive/Michigan](https://www.mlive.com) -
|
||||||
|
[NJ/New Jersey](https://www.nj.com) -
|
||||||
|
[Staten Island Advance](https://www.silive.com) -
|
||||||
|
[The Express-Times](https://www.lehighvalleylive.com) -
|
||||||
|
[The Oregonian](https://www.oregonlive.com) -
|
||||||
|
[The Patriot-News](https://www.pennlive.com) -
|
||||||
|
[The Plain Dealer](https://www.cleveland.com) -
|
||||||
|
[The Post-Standard](https://www.syracuse.com) -
|
||||||
|
[The Republican](https://www.masslive.com)\
|
||||||
*Gannett Group (local USA Today)* sites like (opt-in to custom sites)\
|
*Gannett Group (local USA Today)* sites like (opt-in to custom sites)\
|
||||||
[Detroit Free Press](https://www.freep.com) -
|
[Detroit Free Press](https://www.freep.com) -
|
||||||
[Milwaukee Journal Sentinel](https://www.jsonline.com) -
|
[Milwaukee Journal Sentinel](https://www.jsonline.com) -
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
Changelog Bypass Paywalls Clean - Firefox
|
Changelog Bypass Paywalls Clean - Firefox
|
||||||
|
|
||||||
Post-release
|
Post-release
|
||||||
|
Add Advance Local (local USA)
|
||||||
Add Italian.tech
|
Add Italian.tech
|
||||||
Fix Medium (faster)
|
Fix Medium (faster)
|
||||||
|
|
||||||
|
|
|
@ -19,6 +19,7 @@ var it_quotidiano_domains = ['ilgiorno.it', 'ilrestodelcarlino.it', 'iltelegrafo
|
||||||
var nl_mediahuis_region_domains = ['gooieneemlander.nl', 'haarlemsdagblad.nl', 'ijmuidercourant.nl', 'leidschdagblad.nl', 'noordhollandsdagblad.nl'];
|
var nl_mediahuis_region_domains = ['gooieneemlander.nl', 'haarlemsdagblad.nl', 'ijmuidercourant.nl', 'leidschdagblad.nl', 'noordhollandsdagblad.nl'];
|
||||||
var no_nhst_media_domains = ['intrafish.com', 'rechargenews.com', 'tradewindsnews.com', 'upstreamonline.com'];
|
var no_nhst_media_domains = ['intrafish.com', 'rechargenews.com', 'tradewindsnews.com', 'upstreamonline.com'];
|
||||||
var timesofindia_domains = ['timesofindia.com', 'timesofindia.indiatimes.com'];
|
var timesofindia_domains = ['timesofindia.com', 'timesofindia.indiatimes.com'];
|
||||||
|
var usa_adv_local_domains = ['al.com', 'cleveland.com', 'lehighvalleylive.com', 'masslive.com', 'mlive.com', 'nj.com', 'oregonlive.com', 'pennlive.com', 'silive.com', 'syracuse.com'];
|
||||||
var usa_craincomm_domains = ['adage.com', 'autonews.com', 'chicagobusiness.com', 'crainscleveland.com', 'crainsdetroit.com', 'crainsnewyork.com', 'modernhealthcare.com'];
|
var usa_craincomm_domains = ['adage.com', 'autonews.com', 'chicagobusiness.com', 'crainscleveland.com', 'crainsdetroit.com', 'crainsnewyork.com', 'modernhealthcare.com'];
|
||||||
var usa_mcc_domains = ['bnd.com', 'charlotteobserver.com', 'fresnobee.com', 'kansas.com', 'kansascity.com', 'kentucky.com', 'miamiherald.com', 'newsobserver.com', 'sacbee.com', 'star-telegram.com', 'thestate.com', 'tri-cityherald.com'];
|
var usa_mcc_domains = ['bnd.com', 'charlotteobserver.com', 'fresnobee.com', 'kansas.com', 'kansascity.com', 'kentucky.com', 'miamiherald.com', 'newsobserver.com', 'sacbee.com', 'star-telegram.com', 'thestate.com', 'tri-cityherald.com'];
|
||||||
var usa_mng_domains = ['denverpost.com', 'eastbaytimes.com', 'mercurynews.com', 'ocregister.com', 'pe.com', 'twincities.com'];
|
var usa_mng_domains = ['denverpost.com', 'eastbaytimes.com', 'mercurynews.com', 'ocregister.com', 'pe.com', 'twincities.com'];
|
||||||
|
@ -1594,7 +1595,24 @@ else
|
||||||
|
|
||||||
} else {//other (like com/org & not at/be/br/ch/cl/de/fr/es/ie/nl/pe/pt/uk))
|
} else {//other (like com/org & not at/be/br/ch/cl/de/fr/es/ie/nl/pe/pt/uk))
|
||||||
|
|
||||||
if (matchDomain('adweek.com')) {
|
if (matchDomain(usa_adv_local_domains)) {
|
||||||
|
let url = window.location.href;
|
||||||
|
if (url.includes('?outputType=amp')) {
|
||||||
|
let amp_ads = document.querySelectorAll('.amp-ad-container, amp-embed');
|
||||||
|
removeDOMElement(...amp_ads);
|
||||||
|
} else {
|
||||||
|
let paywall = document.querySelector('.paywall');
|
||||||
|
let amphtml = document.querySelector('link[rel="amphtml"]');
|
||||||
|
if (paywall && amphtml) {
|
||||||
|
removeDOMElement(paywall);
|
||||||
|
window.location.href = amphtml.href;
|
||||||
|
}
|
||||||
|
let ads = document.querySelectorAll('div.ad');
|
||||||
|
removeDOMElement(...ads);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
else if (matchDomain('adweek.com')) {
|
||||||
let url = window.location.href;
|
let url = window.location.href;
|
||||||
let body_single = document.querySelector('body.single');
|
let body_single = document.querySelector('body.single');
|
||||||
let amphtml = document.querySelector('link[rel="amphtml"]');
|
let amphtml = document.querySelector('link[rel="amphtml"]');
|
||||||
|
|
|
@ -65,6 +65,7 @@
|
||||||
"*://*.afr.com/*",
|
"*://*.afr.com/*",
|
||||||
"*://*.aisnenouvelle.fr/*",
|
"*://*.aisnenouvelle.fr/*",
|
||||||
"*://*.ajc.com/*",
|
"*://*.ajc.com/*",
|
||||||
|
"*://*.al.com/*",
|
||||||
"*://*.alternatives-economiques.fr/*",
|
"*://*.alternatives-economiques.fr/*",
|
||||||
"*://*.ambito.com/*",
|
"*://*.ambito.com/*",
|
||||||
"*://*.americanaffairsjournal.org/*",
|
"*://*.americanaffairsjournal.org/*",
|
||||||
|
@ -114,6 +115,7 @@
|
||||||
"*://*.chronicle.com/*",
|
"*://*.chronicle.com/*",
|
||||||
"*://*.cicero.de/*",
|
"*://*.cicero.de/*",
|
||||||
"*://*.clarin.com/*",
|
"*://*.clarin.com/*",
|
||||||
|
"*://*.cleveland.com/*",
|
||||||
"*://*.cmjornal.pt/*",
|
"*://*.cmjornal.pt/*",
|
||||||
"*://*.commentary.org/*",
|
"*://*.commentary.org/*",
|
||||||
"*://*.corriere.it/*",
|
"*://*.corriere.it/*",
|
||||||
|
@ -287,6 +289,7 @@
|
||||||
"*://*.lecho.be/*",
|
"*://*.lecho.be/*",
|
||||||
"*://*.ledauphine.com/*",
|
"*://*.ledauphine.com/*",
|
||||||
"*://*.ledevoir.com/*",
|
"*://*.ledevoir.com/*",
|
||||||
|
"*://*.lehighvalleylive.com/*",
|
||||||
"*://*.leidschdagblad.nl/*",
|
"*://*.leidschdagblad.nl/*",
|
||||||
"*://*.lejdd.fr/*",
|
"*://*.lejdd.fr/*",
|
||||||
"*://*.lejsl.com/*",
|
"*://*.lejsl.com/*",
|
||||||
|
@ -318,6 +321,7 @@
|
||||||
"*://*.marianne.net/*",
|
"*://*.marianne.net/*",
|
||||||
"*://*.marketwatch.com/*",
|
"*://*.marketwatch.com/*",
|
||||||
"*://*.marmai.fi/*",
|
"*://*.marmai.fi/*",
|
||||||
|
"*://*.masslive.com/*",
|
||||||
"*://*.maz-online.de/*",
|
"*://*.maz-online.de/*",
|
||||||
"*://*.mcall.com/*",
|
"*://*.mcall.com/*",
|
||||||
"*://*.medianama.com/*",
|
"*://*.medianama.com/*",
|
||||||
|
@ -330,6 +334,7 @@
|
||||||
"*://*.midi-olympique.fr/*",
|
"*://*.midi-olympique.fr/*",
|
||||||
"*://*.midilibre.fr/*",
|
"*://*.midilibre.fr/*",
|
||||||
"*://*.mikrobitti.fi/*",
|
"*://*.mikrobitti.fi/*",
|
||||||
|
"*://*.mlive.com/*",
|
||||||
"*://*.modernhealthcare.com/*",
|
"*://*.modernhealthcare.com/*",
|
||||||
"*://*.morgenpost.de/*",
|
"*://*.morgenpost.de/*",
|
||||||
"*://*.mv-voice.com/*",
|
"*://*.mv-voice.com/*",
|
||||||
|
@ -350,6 +355,7 @@
|
||||||
"*://*.newyorker.com/*",
|
"*://*.newyorker.com/*",
|
||||||
"*://*.niagarafallsreview.ca/*",
|
"*://*.niagarafallsreview.ca/*",
|
||||||
"*://*.nikkei.com/*",
|
"*://*.nikkei.com/*",
|
||||||
|
"*://*.nj.com/*",
|
||||||
"*://*.nknews.org/*",
|
"*://*.nknews.org/*",
|
||||||
"*://*.noordhollandsdagblad.nl/*",
|
"*://*.noordhollandsdagblad.nl/*",
|
||||||
"*://*.nordeclair.fr/*",
|
"*://*.nordeclair.fr/*",
|
||||||
|
@ -371,6 +377,7 @@
|
||||||
"*://*.nzz.ch/*",
|
"*://*.nzz.ch/*",
|
||||||
"*://*.observador.pt/*",
|
"*://*.observador.pt/*",
|
||||||
"*://*.ocregister.com/*",
|
"*://*.ocregister.com/*",
|
||||||
|
"*://*.oregonlive.com/*",
|
||||||
"*://*.orlandosentinel.com/*",
|
"*://*.orlandosentinel.com/*",
|
||||||
"*://*.ostsee-zeitung.de/*",
|
"*://*.ostsee-zeitung.de/*",
|
||||||
"*://*.otz.de/*",
|
"*://*.otz.de/*",
|
||||||
|
@ -379,6 +386,7 @@
|
||||||
"*://*.parismatch.com/*",
|
"*://*.parismatch.com/*",
|
||||||
"*://*.parool.nl/*",
|
"*://*.parool.nl/*",
|
||||||
"*://*.pe.com/*",
|
"*://*.pe.com/*",
|
||||||
|
"*://*.pennlive.com/*",
|
||||||
"*://*.petitbleu.fr/*",
|
"*://*.petitbleu.fr/*",
|
||||||
"*://*.philosophynow.org/*",
|
"*://*.philosophynow.org/*",
|
||||||
"*://*.pilotonline.com/*",
|
"*://*.pilotonline.com/*",
|
||||||
|
@ -415,6 +423,7 @@
|
||||||
"*://*.sfchronicle.com/*",
|
"*://*.sfchronicle.com/*",
|
||||||
"*://*.shz.de/*",
|
"*://*.shz.de/*",
|
||||||
"*://*.si.com/*",
|
"*://*.si.com/*",
|
||||||
|
"*://*.silive.com/*",
|
||||||
"*://*.slate.com/*",
|
"*://*.slate.com/*",
|
||||||
"*://*.sloanreview.mit.edu/*",
|
"*://*.sloanreview.mit.edu/*",
|
||||||
"*://*.smh.com.au/*",
|
"*://*.smh.com.au/*",
|
||||||
|
@ -435,6 +444,7 @@
|
||||||
"*://*.sudouest.fr/*",
|
"*://*.sudouest.fr/*",
|
||||||
"*://*.sun-sentinel.com/*",
|
"*://*.sun-sentinel.com/*",
|
||||||
"*://*.svz.de/*",
|
"*://*.svz.de/*",
|
||||||
|
"*://*.syracuse.com/*",
|
||||||
"*://*.talouselama.fi/*",
|
"*://*.talouselama.fi/*",
|
||||||
"*://*.tampabay.com/*",
|
"*://*.tampabay.com/*",
|
||||||
"*://*.techinasia.com/*",
|
"*://*.techinasia.com/*",
|
||||||
|
@ -559,5 +569,5 @@
|
||||||
"*://*.wallkit.net/*",
|
"*://*.wallkit.net/*",
|
||||||
"*://*.wsj.net/*"
|
"*://*.wsj.net/*"
|
||||||
],
|
],
|
||||||
"version": "2.4.4.1"
|
"version": "2.4.4.2"
|
||||||
}
|
}
|
24
sites.js
24
sites.js
|
@ -14,6 +14,22 @@ var defaultSites = {
|
||||||
block_regex: /\.evolok\.net\//,
|
block_regex: /\.evolok\.net\//,
|
||||||
useragent: "googlebot"
|
useragent: "googlebot"
|
||||||
},
|
},
|
||||||
|
"Advance Local": {
|
||||||
|
domain: "###_usa_adv_local",
|
||||||
|
allow_cookies: 1,
|
||||||
|
group: [
|
||||||
|
"al.com",
|
||||||
|
"cleveland.com",
|
||||||
|
"lehighvalleylive.com",
|
||||||
|
"masslive.com",
|
||||||
|
"mlive.com",
|
||||||
|
"nj.com",
|
||||||
|
"oregonlive.com",
|
||||||
|
"pennlive.com",
|
||||||
|
"silive.com",
|
||||||
|
"syracuse.com"
|
||||||
|
]
|
||||||
|
},
|
||||||
"Adweek": {
|
"Adweek": {
|
||||||
domain: "adweek.com",
|
domain: "adweek.com",
|
||||||
block_regex: /\.lightboxcdn\.com\//
|
block_regex: /\.lightboxcdn\.com\//
|
||||||
|
@ -23,12 +39,12 @@ var defaultSites = {
|
||||||
group: [
|
group: [
|
||||||
"ad.nl",
|
"ad.nl",
|
||||||
"bd.nl",
|
"bd.nl",
|
||||||
"ed.nl",
|
|
||||||
"tubantia.nl",
|
|
||||||
"bndestem.nl",
|
"bndestem.nl",
|
||||||
"pzc.nl",
|
|
||||||
"destentor.nl",
|
"destentor.nl",
|
||||||
"gelderlander.nl"
|
"ed.nl",
|
||||||
|
"gelderlander.nl",
|
||||||
|
"pzc.nl",
|
||||||
|
"tubantia.nl"
|
||||||
],
|
],
|
||||||
remove_cookies_select_drop: ["temptationTrackingId"]
|
remove_cookies_select_drop: ["temptationTrackingId"]
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue