Add Times of India

This commit is contained in:
magnolia1234 2021-05-13 21:52:59 +02:00
parent 7d53667af4
commit 5f3ac5bf84
5 changed files with 18 additions and 3 deletions

View file

@ -528,7 +528,8 @@ Grupo Vocento (ABC) regional sites like
[LiveMint](https://www.livemint.com) - [LiveMint](https://www.livemint.com) -
[The Economic Times (ET Prime)](https://economictimes.indiatimes.com) - [The Economic Times (ET Prime)](https://economictimes.indiatimes.com) -
[The Hindu](https://www.thehindu.com) - [The Hindu](https://www.thehindu.com) -
[The Hindu BusinessLine](https://www.thehindubusinessline.com) [The Hindu BusinessLine](https://www.thehindubusinessline.com) -
[Times of India](https://timesofindia.indiatimes.com)
#### Israel #### Israel
[Globes](https://www.globes.co.il) - [Globes](https://www.globes.co.il) -

View file

@ -446,6 +446,7 @@ var grouped_sites = {
'###_fr_groupe_la_depeche': fr_groupe_la_depeche_domains, '###_fr_groupe_la_depeche': fr_groupe_la_depeche_domains,
'###_it_ilmessaggero': it_ilmessaggero_domains, '###_it_ilmessaggero': it_ilmessaggero_domains,
'###_nl_ad_region': nl_ad_region_domains, '###_nl_ad_region': nl_ad_region_domains,
'###_timesofindia': timesofindia_domains,
'###_usa_mcc': usa_mcc_domains, '###_usa_mcc': usa_mcc_domains,
'###_usa_nymag': usa_nymag_domains, '###_usa_nymag': usa_nymag_domains,
'###_usa_tribune': usa_tribune_domains, '###_usa_tribune': usa_tribune_domains,
@ -522,6 +523,14 @@ function add_grouped_sites(init_rules) {
blockedRegexes[domain] = /utils\.cedsdigital\.it\/js\/PaywallMeter\.js/; blockedRegexes[domain] = /utils\.cedsdigital\.it\/js\/PaywallMeter\.js/;
for (let domain of nl_ad_region_domains) for (let domain of nl_ad_region_domains)
remove_cookies_select_drop[domain] = ['temptationTrackingId']; remove_cookies_select_drop[domain] = ['temptationTrackingId'];
for (let domain of timesofindia_domains) {
allow_cookies.push(domain);
use_google_bot.push(domain);
if (domain === 'timesofindia.com')
blockedRegexes[domain] = /\.timesofindia\.com\/jsrender\.cms/;
else
blockedRegexes[domain] = /timesofindia\.indiatimes\.com\/jsrender\/version-1\.cms/;
}
for (let domain of usa_mcc_domains) for (let domain of usa_mcc_domains)
blockedRegexes[domain] = /cdn\.ampproject\.org\/v\d\/amp-subscriptions-.+\.js/; blockedRegexes[domain] = /cdn\.ampproject\.org\/v\d\/amp-subscriptions-.+\.js/;
for (let domain of usa_tribune_domains) { for (let domain of usa_tribune_domains) {

View file

@ -2,6 +2,7 @@
Changelog Bypass Paywalls Clean - Firefox Changelog Bypass Paywalls Clean - Firefox
Post-release Post-release
Add Times of India
Fix-update Crain's Chicago Business Fix-update Crain's Chicago Business
Fix-update LeScienze.it Fix-update LeScienze.it
Fix-update South China Morning Post (amp) Fix-update South China Morning Post (amp)

View file

@ -441,6 +441,8 @@
"*://*.tijd.be/*", "*://*.tijd.be/*",
"*://*.time.com/*", "*://*.time.com/*",
"*://*.timeshighereducation.com/*", "*://*.timeshighereducation.com/*",
"*://*.timesofindia.com/*",
"*://*.timesofindia.indiatimes.com/*",
"*://*.tivi.fi/*", "*://*.tivi.fi/*",
"*://*.tlz.de/*", "*://*.tlz.de/*",
"*://*.towardsdatascience.com/*", "*://*.towardsdatascience.com/*",
@ -512,5 +514,5 @@
"*://*.wallkit.net/*", "*://*.wallkit.net/*",
"*://*.wsj.net/*" "*://*.wsj.net/*"
], ],
"version": "2.2.0.3" "version": "2.2.0.4"
} }

View file

@ -282,6 +282,7 @@ var defaultSites =
"The West Australian (+ regional)": "thewest.com.au", "The West Australian (+ regional)": "thewest.com.au",
"Time Magazine": "time.com", "Time Magazine": "time.com",
"Times Higher Education": "timeshighereducation.com", "Times Higher Education": "timeshighereducation.com",
"Times of India": "###_timesofindia",
"Towards Data Science": "towardsdatascience.com", "Towards Data Science": "towardsdatascience.com",
"Tribune Publishing Company": "###_usa_tribune", "Tribune Publishing Company": "###_usa_tribune",
"Trouw": "trouw.nl", "Trouw": "trouw.nl",
@ -330,10 +331,11 @@ const fr_groupe_ebra_domains = ['bienpublic.com', 'dna.fr', 'estrepublicain.fr',
const fr_groupe_la_depeche_domains = ['centrepresseaveyron.fr', 'ladepeche.fr', 'lindependant.fr', 'midi-olympique.fr', 'midilibre.fr', 'nrpyrenees.fr', 'petitbleu.fr']; const fr_groupe_la_depeche_domains = ['centrepresseaveyron.fr', 'ladepeche.fr', 'lindependant.fr', 'midi-olympique.fr', 'midilibre.fr', 'nrpyrenees.fr', 'petitbleu.fr'];
const it_ilmessaggero_domains = ['corriereadriatico.it', 'ilgazzettino.it', 'ilmattino.it', 'ilmessaggero.it', 'quotidianodipuglia.it']; const it_ilmessaggero_domains = ['corriereadriatico.it', 'ilgazzettino.it', 'ilmattino.it', 'ilmessaggero.it', 'quotidianodipuglia.it'];
const nl_ad_region_domains = ['ad.nl', 'bd.nl', 'ed.nl', 'tubantia.nl', 'bndestem.nl', 'pzc.nl', 'destentor.nl', 'gelderlander.nl']; const nl_ad_region_domains = ['ad.nl', 'bd.nl', 'ed.nl', 'tubantia.nl', 'bndestem.nl', 'pzc.nl', 'destentor.nl', 'gelderlander.nl'];
const timesofindia_domains = ['timesofindia.com', 'timesofindia.indiatimes.com'];
const usa_mcc_domains = ['bnd.com', 'charlotteobserver.com', 'fresnobee.com', 'kansas.com', 'kansascity.com', 'kentucky.com', 'newsobserver.com', 'sacbee.com', 'star-telegram.com', 'thestate.com', 'tri-cityherald.com']; const usa_mcc_domains = ['bnd.com', 'charlotteobserver.com', 'fresnobee.com', 'kansas.com', 'kansascity.com', 'kentucky.com', 'newsobserver.com', 'sacbee.com', 'star-telegram.com', 'thestate.com', 'tri-cityherald.com'];
const usa_nymag_domains = ['curbed.com', 'grubstreet.com', 'nymag.com', 'thecut.com', 'vulture.com']; const usa_nymag_domains = ['curbed.com', 'grubstreet.com', 'nymag.com', 'thecut.com', 'vulture.com'];
const usa_tribune_domains = ['baltimoresun.com', 'chicagotribune.com', 'courant.com', 'dailypress.com', 'mcall.com', 'nydailynews.com', 'orlandosentinel.com', 'pilotonline.com', 'sun-sentinel.com']; const usa_tribune_domains = ['baltimoresun.com', 'chicagotribune.com', 'courant.com', 'dailypress.com', 'mcall.com', 'nydailynews.com', 'orlandosentinel.com', 'pilotonline.com', 'sun-sentinel.com'];
const usa_theathletic_domains = ['theathletic.com', 'theathletic.co.uk']; const usa_theathletic_domains = ['theathletic.com', 'theathletic.co.uk'];
var defaultSites_grouped_domains = Object.values(defaultSites); var defaultSites_grouped_domains = Object.values(defaultSites);
var defaultSites_domains = defaultSites_grouped_domains.concat(au_comm_media_domains, au_news_corp_domains, au_prov_news_domains, ca_torstar_domains, de_funke_media_domains, de_madsack_domains, es_grupo_vocento_domains, fi_alma_talent_domains, fr_be_groupe_rossel_domains, fr_groupe_ebra_domains, fr_groupe_la_depeche_domains, it_ilmessaggero_domains, nl_ad_region_domains, usa_mcc_domains, usa_nymag_domains, usa_tribune_domains, usa_theathletic_domains); var defaultSites_domains = defaultSites_grouped_domains.concat(au_comm_media_domains, au_news_corp_domains, au_prov_news_domains, ca_torstar_domains, de_funke_media_domains, de_madsack_domains, es_grupo_vocento_domains, fi_alma_talent_domains, fr_be_groupe_rossel_domains, fr_groupe_ebra_domains, fr_groupe_la_depeche_domains, it_ilmessaggero_domains, nl_ad_region_domains, timesofindia_domains, usa_mcc_domains, usa_nymag_domains, usa_tribune_domains, usa_theathletic_domains);