diff --git a/README.md b/README.md index b13843d..ad2bb6a 100644 --- a/README.md +++ b/README.md @@ -119,6 +119,7 @@ Grouped in options:\ [Crain's Chicago Business](https://www.chicagobusiness.com) - [Crain's Cleveland Business](https://www.crainscleveland.com) - [Crain's Detroit Business](https://www.crainsdetroit.com) - +[Crain's Grand Rapids Business](https://www.crainsgrandrapids.com) - [Crain's New York Business](https://www.crainsnewyork.com) - [Modern Healthcare](https://www.modernhealthcare.com) - [Pensions & Investments](https://www.pionline.com)\ diff --git a/changelog.txt b/changelog.txt index 3f18ac5..6093cf9 100644 --- a/changelog.txt +++ b/changelog.txt @@ -4,6 +4,7 @@ Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywal Post-release Add Bild.de (fetch from archive.is) +Add Crain's Grand Rapids Business Add Capital.fr Fix MediaNews Group (ld_json_url) Fix Nzz.ch (css) diff --git a/contentScript.js b/contentScript.js index 8371209..371d9ae 100644 --- a/contentScript.js +++ b/contentScript.js @@ -44,7 +44,7 @@ var uk_nat_world_domains = ['scotsman.com', 'yorkshirepost.co.uk']; 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_arizent_custom_domains = ['accountingtoday.com', 'benefitnews.com', 'bondbuyer.com', 'dig-in.com', 'financial-planning.com', 'nationalmortgagenews.com']; var usa_conde_nast_domains = ['architecturaldigest.com', 'bonappetit.com', 'cntraveler.com', 'epicurious.com', 'gq.com' , 'newyorker.com', 'vanityfair.com', 'vogue.co.uk', 'vogue.com', 'wired.com']; -var usa_craincomm_domains = ['360dx.com', 'adage.com', 'autonews.com', 'chicagobusiness.com', 'crainscleveland.com', 'crainsdetroit.com', 'crainsnewyork.com', 'european-rubber-journal.com', 'genomeweb.com', 'modernhealthcare.com', 'pionline.com', 'plasticsnews.com', 'precisionmedicineonline.com', 'rubbernews.com', 'sustainableplastics.com', 'tirebusiness.com', 'utech-polyurethane.com']; +var usa_craincomm_domains = ['360dx.com', 'adage.com', 'autonews.com', 'chicagobusiness.com', 'crainscleveland.com', 'crainsdetroit.com', 'crainsgrandrapids.com', 'crainsnewyork.com', 'european-rubber-journal.com', 'genomeweb.com', 'modernhealthcare.com', 'pionline.com', 'plasticsnews.com', 'precisionmedicineonline.com', 'rubbernews.com', 'sustainableplastics.com', 'tirebusiness.com', 'utech-polyurethane.com']; var usa_gannett_domains = ['azcentral.com', 'cincinnati.com', 'commercialappeal.com', 'courier-journal.com', 'democratandchronicle.com', 'desmoinesregister.com', 'detroitnews.com', 'dispatch.com', 'freep.com', 'indystar.com', 'jacksonville.com', 'jsonline.com', 'knoxnews.com', 'news-press.com', 'northjersey.com', 'oklahoman.com', 'statesman.com', 'tennessean.com']; var usa_hearst_comm_domains = ['ctpost.com', 'expressnews.com', 'houstonchronicle.com', 'nhregister.com', 'sfchronicle.com', 'timesunion.com']; var usa_lee_ent_domains = ['buffalonews.com', 'journalnow.com', 'journalstar.com', 'madison.com', 'nwitimes.com', 'omaha.com', 'richmond.com', 'stltoday.com', 'tucson.com', 'tulsaworld.com']; @@ -6061,8 +6061,8 @@ else if (matchDomain(usa_craincomm_domains)) { if (sponsored_article) sponsored_article.classList.remove('sponsored-article'); } - let banners = document.querySelectorAll('div.footer__ads-footer'); - hideDOMElement(...banners); + let ads = 'div.footer__ads-footer'; + hideDOMStyle(ads); } else if (matchDomain(usa_nymag_domains)) { diff --git a/custom/manifest.json b/custom/manifest.json index b2c74f8..4f0f2a7 100644 --- a/custom/manifest.json +++ b/custom/manifest.json @@ -51,5 +51,5 @@ "webRequestBlocking", "*://*/*" ], - "version": "3.6.2.4" + "version": "3.6.2.5" } diff --git a/manifest.json b/manifest.json index dd91512..9629e92 100644 --- a/manifest.json +++ b/manifest.json @@ -187,6 +187,7 @@ "*://*.courrierinternational.com/*", "*://*.crainscleveland.com/*", "*://*.crainsdetroit.com/*", + "*://*.crainsgrandrapids.com/*", "*://*.crainsnewyork.com/*", "*://*.crikey.com.au/*", "*://*.cronista.com/*", @@ -868,5 +869,5 @@ "*://archive.vn/*", "*://webcache.googleusercontent.com/*" ], - "version": "3.6.2.4" + "version": "3.6.2.5" } diff --git a/sites.js b/sites.js index 9424932..b8ae3ea 100644 --- a/sites.js +++ b/sites.js @@ -467,6 +467,7 @@ var defaultSites = { "chicagobusiness.com", "crainscleveland.com", "crainsdetroit.com", + "crainsgrandrapids.com", "crainsnewyork.com", "european-rubber-journal.com", "genomeweb.com", diff --git a/sites_updated.json b/sites_updated.json index 0dc62a7..4403720 100644 --- a/sites_updated.json +++ b/sites_updated.json @@ -17,6 +17,12 @@ "block_regex": "\\.poool\\.fr", "upd_version": "3.6.2.2" }, + "Crain's Grand Rapids Business": { + "domain": "crainsgrandrapids.com", + "allow_cookies": 1, + "block_regex": "js\\.pelcro\\.com", + "upd_version": "3.6.2.5" + }, "Grupo Clarín": { "domain": "###_ar_grupo_clarin", "group": [