Add The Business of Fashion
This commit is contained in:
parent
3a60ca396f
commit
6deb446a30
@ -115,6 +115,7 @@ _* free articles only._
|
||||
[Seeking Alpha](https://seekingalpha.com) -
|
||||
[Stock News](https://stocknews.com) -
|
||||
[The Business Journals](https://www.bizjournals.com) -
|
||||
[The Business of Fashion](https://www.businessoffashion.com) -
|
||||
[The Wall Street Journal](https://www.wsj.com)
|
||||
|
||||
Grouped in options:\
|
||||
|
@ -49,6 +49,7 @@ var allow_cookies_default = [
|
||||
'billboard.com',
|
||||
'bostonglobe.com',
|
||||
'business-standard.com',
|
||||
'businessoffashion.com',
|
||||
'charliehebdo.fr',
|
||||
'chronicle.com',
|
||||
'cicero.de',
|
||||
|
@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Chrome
|
||||
|
||||
Post-release
|
||||
Add Inc42 (India)
|
||||
Add The Business of Fashion
|
||||
Fix Bloomberg (quotes/blurred images)
|
||||
Fix Telegraaf.nl
|
||||
|
||||
|
@ -1389,7 +1389,7 @@ else if (matchDomain('telegraaf.nl')) {
|
||||
let article_body_old = document.querySelector('[id^="articleBody"]');
|
||||
removeDOMElement(article_body_old);
|
||||
let html = document.documentElement.outerHTML;
|
||||
let json = html.split('window.__APOLLO_STATE__=')[1].split('};')[0] + '}';
|
||||
let json = html.includes('window.__APOLLO_STATE__=') ? html.split('window.__APOLLO_STATE__=')[1].split('};')[0] + '}' : '';
|
||||
if (json) {
|
||||
let json_article_id = json.split('uid\":')[1].split(',\"')[0];
|
||||
if (json_article_id && json_article_id !== article_id)
|
||||
@ -1774,6 +1774,18 @@ else if (matchDomain('business-standard.com')) {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
else if (matchDomain('businessoffashion.com')) {
|
||||
let paywall = document.querySelector('div.paywall');
|
||||
if (paywall) {
|
||||
let article_locked = document.querySelector('div.article-locked');
|
||||
if (article_locked)
|
||||
article_locked.removeAttribute('class');
|
||||
let article_locked_overlay = document.querySelector('div.article-locked-overlay');
|
||||
removeDOMElement(paywall, article_locked_overlay);
|
||||
}
|
||||
}
|
||||
|
||||
else if (matchDomain('caixinglobal.com')) {
|
||||
window.setTimeout(function () {
|
||||
let pay_tips = document.querySelectorAll('.cons-pay-tip');
|
||||
@ -1813,7 +1825,6 @@ else if (matchDomain('cen.acs.org')) {
|
||||
|
||||
else if (matchDomain('csmonitor.com')) {
|
||||
let paywall = document.querySelector('div.paywall');
|
||||
console.log(paywall);
|
||||
removeDOMElement(paywall);
|
||||
}
|
||||
|
||||
|
@ -38,5 +38,5 @@
|
||||
"webRequestBlocking",
|
||||
"<all_urls>"
|
||||
],
|
||||
"version": "2.3.1.4"
|
||||
"version": "2.3.1.5"
|
||||
}
|
@ -82,6 +82,7 @@
|
||||
"*://*.britannica.com/*",
|
||||
"*://*.business-standard.com/*",
|
||||
"*://*.businessinsider.com/*",
|
||||
"*://*.businessoffashion.com/*",
|
||||
"*://*.cairnspost.com.au/*",
|
||||
"*://*.caixinglobal.com/*",
|
||||
"*://*.canberratimes.com.au/*",
|
||||
@ -528,5 +529,5 @@
|
||||
"*://*.wallkit.net/*",
|
||||
"*://*.wsj.net/*"
|
||||
],
|
||||
"version": "2.3.1.4"
|
||||
"version": "2.3.1.5"
|
||||
}
|
1
sites.js
1
sites.js
@ -243,6 +243,7 @@ var defaultSites =
|
||||
"The Australian Financial Review": "afr.com",
|
||||
"The Boston Globe": "bostonglobe.com",
|
||||
"The Business Journals": "bizjournals.com",
|
||||
"The Business of Fashion": "businessoffashion.com",
|
||||
"The Christian Science Monitor": "csmonitor.com",
|
||||
"The Daily Beast (free articles only)": "thedailybeast.com",
|
||||
"The Dallas Morning News": "dallasnews.com",
|
||||
|
Loading…
x
Reference in New Issue
Block a user