diff --git a/README.md b/README.md index 1c91953..af9b442 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,6 @@ _* free articles only._ [Bloomberg](https://www.bloomberg.com) - [Business Insider](https://www.businessinsider.com) - [CNBC](https://www.cnbc.com) - -[Digiday](https://digiday.com) - [Fast Company](https://www.fastcompany.com) - [Forbes](https://www.forbes.com) - [Fortune](https://fortune.com) - @@ -107,18 +106,14 @@ _* free articles only._ [ZeroHedge](https://www.zerohedge.com) Grouped in options:\ -*[American Banker](https://www.americanbanker.com) (+ [Arizent](https://www.arizent.com/brands)*; opt-in to custom sites) - -*[BNP Media](https://www.bnpmedia.com/our-audiences)* sites (opt-in to custom sites) - -*[Bridge Tower Media](https://bridgetowermedia.com/markets)* sites (opt-in to custom sites) - +*[American Banker](https://www.americanbanker.com) (+ [Arizent](https://www.arizent.com/brands)*; opt-in to custom sites)\ +*[BNP Media](https://www.bnpmedia.com/our-audiences)* sites (opt-in to custom sites)\ +*[Bridge Tower Media](https://bridgetowermedia.com/markets)* sites (opt-in to custom sites)\ *California Business Journals* sites like\ [Los Angeles Business Journal](https://labusinessjournal.com) - [Orange County Business Journal](https://www.ocbj.com) - [San Diego Business Journal](https://www.sdbj.com) - -[San Fernando Valley Business Journal](https://www.sfvbj.com) - +[San Fernando Valley Business Journal](https://www.sfvbj.com)\ *Crain Communications* sites like\ [Ad Age](https://adage.com) - [Automotive News](https://www.autonews.com) - @@ -134,10 +129,12 @@ Global Polymer Group: [Rubber News](https://www.rubbernews.com) - [Sustainable Plastics](https://www.sustainableplastics.com) - [Tire Business](https://www.tirebusiness.com) - -[Urethanes Technology International](https://www.utech-polyurethane.com) - -*[Inside Retail](https://octomedia.com.au/our-brands/inside-retail)* sites (opt-in to custom sites) - +[Urethanes Technology International](https://www.utech-polyurethane.com)\ +*Digiday Media* sites like\ +[Digiday](https://digiday.com) - +[Glossy](https://www.glossy.co) - +[ModernRetail](https://www.modernretail.co)\ +*[Inside Retail](https://octomedia.com.au/our-brands/inside-retail)* sites (opt-in to custom sites)\ *[PEI Media](https://www.pei.group/brands)* sites (opt-in to custom sites) ##### Tech/Science diff --git a/background.js b/background.js index 47c993f..5d6dc8e 100644 --- a/background.js +++ b/background.js @@ -539,7 +539,7 @@ ext_api.storage.local.get({ } else { ext_api.management.getSelf(function (result) { if ((result.installType === 'development' || (result.installType !== 'development' && !enabledSites.includes('#options_on_update')))) { - let new_groups = ['###_de_motor_presse', '###_il_haaretz_group']; + let new_groups = ['###_de_motor_presse', '###_il_haaretz_group', '###_usa_digiday']; let open_options = new_groups.some(group => !enabledSites.includes(group) && grouped_sites[group].some(domain => enabledSites.includes(domain) && !customSites_domains.includes(domain))); if (open_options) ext_api.runtime.openOptionsPage(); diff --git a/changelog.txt b/changelog.txt index 094c224..c6c9a29 100644 --- a/changelog.txt +++ b/changelog.txt @@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases Post-release +Add Digiday Media Add Il Sole 24 Ore Add Newsquest Media Group (UK; opt-in to custom sites) Remove BusinessTimes.com.sg (fix obsolete) diff --git a/contentScript.js b/contentScript.js index c0c92a9..23348e9 100644 --- a/contentScript.js +++ b/contentScript.js @@ -3888,13 +3888,9 @@ else if (matchDomain('defector.com')) { } } -else if (matchDomain('digiday.com')) { - if (window.location.pathname.endsWith('/amp/')) { - amp_unhide_access_hide('="NOT p.showPageviewExpired AND NOT p.showPayWall"', '', 'amp-ad, .advertisement, .ad-wrapper'); - } else { - let ads = document.querySelectorAll('div[class^="ad_"]'); - hideDOMElement(...ads); - } +else if (matchDomain(['digiday.com', 'glossy.co', 'modernretail.co'])) { + let ads = document.querySelectorAll('div[class^="ad_"]'); + hideDOMElement(...ads); } else if (matchDomain('discovermagazine.com')) { diff --git a/custom/manifest.json b/custom/manifest.json index 57f5c97..92af83d 100644 --- a/custom/manifest.json +++ b/custom/manifest.json @@ -51,5 +51,5 @@ "webRequestBlocking", "*://*/*" ], - "version": "3.5.7.7" + "version": "3.5.7.8" } diff --git a/manifest.json b/manifest.json index 04b82a1..ed2e51e 100644 --- a/manifest.json +++ b/manifest.json @@ -299,6 +299,7 @@ "*://*.glassdoor.com/*", "*://*.globes.co.il/*", "*://*.globo.com/*", + "*://*.glossy.co/*", "*://*.goldcoastbulletin.com.au/*", "*://*.goodhousekeeping.com/*", "*://*.gq.com/*", @@ -477,6 +478,7 @@ "*://*.mlive.com/*", "*://*.moda.it/*", "*://*.modernhealthcare.com/*", + "*://*.modernretail.co/*", "*://*.monacomatin.mc/*", "*://*.monocle.com/*", "*://*.motorradonline.de/*", @@ -841,5 +843,5 @@ "*://archive.vn/*", "*://webcache.googleusercontent.com/*" ], - "version": "3.5.7.7" + "version": "3.5.7.8" } diff --git a/sites.js b/sites.js index b164b0b..fecc773 100644 --- a/sites.js +++ b/sites.js @@ -562,8 +562,13 @@ var defaultSites = { allow_cookies: 1, cs_dompurify: 1 }, - "Digiday": { - domain: "digiday.com", + "Digiday Media": { + domain: "###_usa_digiday", + group: [ + "digiday.com", + "glossy.co", + "modernretail.co" + ], allow_cookies: 1, block_regex: /(cdn\.tinypass\.com\/|cdn\.ampproject\.org\/v\d\/amp-access-.+\.js)/ },