Add Digiday Media

This commit is contained in:
magnolia1234 2024-03-03 17:55:48 +01:00
parent e84bcd2814
commit 2fc3b89027
7 changed files with 26 additions and 25 deletions

View file

@ -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

View file

@ -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();

View file

@ -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)

View file

@ -3888,14 +3888,10 @@ 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 {
else if (matchDomain(['digiday.com', 'glossy.co', 'modernretail.co'])) {
let ads = document.querySelectorAll('div[class^="ad_"]');
hideDOMElement(...ads);
}
}
else if (matchDomain('discovermagazine.com')) {
window.setTimeout(function () {

View file

@ -51,5 +51,5 @@
"webRequestBlocking",
"*://*/*"
],
"version": "3.5.7.7"
"version": "3.5.7.8"
}

View file

@ -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"
}

View file

@ -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)/
},