diff --git a/README.md b/README.md index 72039fb..ccc97ba 100644 --- a/README.md +++ b/README.md @@ -528,7 +528,8 @@ Grupo Vocento (ABC) regional sites like [LiveMint](https://www.livemint.com) - [The Economic Times (ET Prime)](https://economictimes.indiatimes.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 [Globes](https://www.globes.co.il) - diff --git a/background.js b/background.js index d74c91d..997f12c 100644 --- a/background.js +++ b/background.js @@ -446,6 +446,7 @@ var grouped_sites = { '###_fr_groupe_la_depeche': fr_groupe_la_depeche_domains, '###_it_ilmessaggero': it_ilmessaggero_domains, '###_nl_ad_region': nl_ad_region_domains, +'###_timesofindia': timesofindia_domains, '###_usa_mcc': usa_mcc_domains, '###_usa_nymag': usa_nymag_domains, '###_usa_tribune': usa_tribune_domains, @@ -522,6 +523,14 @@ function add_grouped_sites(init_rules) { blockedRegexes[domain] = /utils\.cedsdigital\.it\/js\/PaywallMeter\.js/; for (let domain of nl_ad_region_domains) 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) blockedRegexes[domain] = /cdn\.ampproject\.org\/v\d\/amp-subscriptions-.+\.js/; for (let domain of usa_tribune_domains) { diff --git a/changelog.txt b/changelog.txt index f1563d6..7432414 100644 --- a/changelog.txt +++ b/changelog.txt @@ -2,6 +2,7 @@ Changelog Bypass Paywalls Clean - Firefox Post-release +Add Times of India Fix-update Crain's Chicago Business Fix-update LeScienze.it Fix-update South China Morning Post (amp) diff --git a/manifest.json b/manifest.json index eb27ec8..dc6a7b2 100644 --- a/manifest.json +++ b/manifest.json @@ -441,6 +441,8 @@ "*://*.tijd.be/*", "*://*.time.com/*", "*://*.timeshighereducation.com/*", + "*://*.timesofindia.com/*", + "*://*.timesofindia.indiatimes.com/*", "*://*.tivi.fi/*", "*://*.tlz.de/*", "*://*.towardsdatascience.com/*", @@ -512,5 +514,5 @@ "*://*.wallkit.net/*", "*://*.wsj.net/*" ], - "version": "2.2.0.3" + "version": "2.2.0.4" } \ No newline at end of file diff --git a/sites.js b/sites.js index cf5aa2b..9ea2a6d 100644 --- a/sites.js +++ b/sites.js @@ -282,6 +282,7 @@ var defaultSites = "The West Australian (+ regional)": "thewest.com.au", "Time Magazine": "time.com", "Times Higher Education": "timeshighereducation.com", + "Times of India": "###_timesofindia", "Towards Data Science": "towardsdatascience.com", "Tribune Publishing Company": "###_usa_tribune", "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 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 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_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_theathletic_domains = ['theathletic.com', 'theathletic.co.uk']; 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);