Fix The Business of Fashion

This commit is contained in:
magnolia1234 2022-01-14 15:33:58 +01:00
parent 27b3d9b986
commit 46ccfb2453
4 changed files with 13 additions and 2 deletions

View file

@ -3,11 +3,12 @@ Changelog Bypass Paywalls Clean - Firefox
Post-release
Add Mainichi Shimbun (Japan)
Remove De Tijd & L'Echo
Remove De Tijd & L'Echo (obsolete)
Fix Bloomberg (quotes)
Fix McClatchy Group (amp-redirect & disable)
Fix Prospect Magazine (timing)
Fix Star Tribune (timing)
Fix The Business of Fashion
Update popup (domain to clear cookies)
* v2.5.1.0 (2022-01-09)

View file

@ -2139,6 +2139,11 @@ else if (matchDomain('business-standard.com')) {
}
}
else if (matchDomain('businessoffashion.com')) {
let ads = document.querySelectorAll('div[class^="default__AdsBlockWrapper"]');
removeDOMElement(...ads);
}
else if (matchDomain(ca_torstar_domains)) {
window.setTimeout(function () {
let meter_banner = document.querySelector('.c-article-meter-banner');

View file

@ -1433,7 +1433,7 @@ var defaultSites = {
"The Business of Fashion": {
domain: "businessoffashion.com",
allow_cookies: 1,
block_regex: /\.businessoffashion\.com\/pf\/dist\/components\/combinations\/2\.chunk\.js/
block_regex: /\.businessoffashion\.com\/zephr\/feature-decisions/
},
"The Christian Science Monitor": {
domain: "csmonitor.com"

View file

@ -9,6 +9,11 @@
"allow_cookies": 1,
"block_regex": "\\.startribune\\.com\\/vendor\\/js\\/"
},
"The Business of Fashion": {
"domain": "businessoffashion.com",
"allow_cookies": 1,
"block_regex": "\\.businessoffashion\\.com\\/zephr\\/feature-decisions"
},
"The Indian Express": {
"domain": "indianexpress.com",
"allow_cookies": 1,