mirror of
https://github.com/iamadamdev/bypass-paywalls-chrome
synced 2025-04-30 01:24:26 +02:00
Add hbrchina.org (Harvard Business Review China)
This commit is contained in:
parent
ecb7c22ddd
commit
5adc770a05
@ -80,6 +80,7 @@
|
||||
[Harper's Magazine](https://harpers.org)\
|
||||
[Hartford Courant](https://www.courant.com)\
|
||||
[Harvard Business Review](https://www.hbr.org)\
|
||||
[Harvard Business Review China](https://www.hbrchina.org)\
|
||||
[Herald Sun](https://www.heraldsun.com.au)\
|
||||
[Het Financieel Dagblad](https://fd.nl)\
|
||||
[History Extra](https://www.historyextra.com)\
|
||||
|
@ -76,7 +76,8 @@
|
||||
"*://*.foreignpolicy.com/*",
|
||||
"*://*.bostonglobe.com/*",
|
||||
"*://*.theathletic.com/*",
|
||||
"*://*.theathletic.co.uk/*"
|
||||
"*://*.theathletic.co.uk/*",
|
||||
"*://*.hbrchina.org/*"
|
||||
],
|
||||
"js": ["src/js/contentScript.js"]
|
||||
}
|
||||
@ -280,7 +281,8 @@
|
||||
"*://*.reuters.com/*",
|
||||
"*://*.expansion.com/*",
|
||||
"*://*.theathletic.com/*",
|
||||
"*://*.theathletic.co.uk/*"
|
||||
"*://*.theathletic.co.uk/*",
|
||||
"*://*.hbrchina.org/*"
|
||||
],
|
||||
"version": "1.8.0"
|
||||
}
|
||||
|
@ -703,6 +703,11 @@ if (matchDomain('elmercurio.com')) {
|
||||
}
|
||||
}
|
||||
}).observe(document, { subtree: true, childList: true });
|
||||
} else if (matchDomain('hbrchina.org')) {
|
||||
const hiddenDiv = document.querySelector('div#the_content');
|
||||
if (hiddenDiv) {
|
||||
hiddenDiv.removeAttribute('style');
|
||||
}
|
||||
}
|
||||
|
||||
function matchDomain (domains) {
|
||||
|
@ -56,6 +56,7 @@ const defaultSites = {
|
||||
'Harper\'s Magazine': 'harpers.org',
|
||||
'Hartford Courant': 'courant.com',
|
||||
'Harvard Business Review': 'hbr.org',
|
||||
'Harvard Business Review China': 'hbrchina.org',
|
||||
'Herald Sun': 'heraldsun.com.au',
|
||||
'Het Financieele Dagblad': 'fd.nl',
|
||||
'History Extra': 'historyextra.com',
|
||||
|
Loading…
x
Reference in New Issue
Block a user