mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 03:31:57 +01:00
Fix Harvard Business Review (subscriber-only)
This commit is contained in:
parent
6b8bf3e87f
commit
53c04189ce
4 changed files with 8 additions and 9 deletions
|
@ -9,6 +9,7 @@ Remove Mediahuis Nederland Regional (fix obsolete)
|
|||
Fix Belfast Telegraph/Independent.ie (images)
|
||||
Fix BusinessPost.ie (js)
|
||||
Fix Estadao.com.br (js)
|
||||
Fix Harvard Business Review (subscriber-only)
|
||||
Fix NyTeknik.se
|
||||
Fix Tuttosport (image)
|
||||
Fix Unherd (css)
|
||||
|
|
|
@ -3994,17 +3994,15 @@ else if (matchDomain('ftm.eu')) {
|
|||
}
|
||||
|
||||
else if (matchDomain('hbr.org')) {
|
||||
function hbr_main() {
|
||||
window.top.postMessage({type: 'article-paywall:full-content'}, '*');
|
||||
}
|
||||
let popup = document.querySelector('.persistent-banner');
|
||||
removeDOMElement(popup);
|
||||
let paywall = document.querySelector('site-paywall');
|
||||
if (paywall) {//legacy
|
||||
if (paywall) {
|
||||
removeDOMElement(paywall);
|
||||
let intro = document.querySelector('.article-ideainbrief');
|
||||
if (intro)
|
||||
intro.removeAttribute('class');
|
||||
let main_hidden = document.querySelector('div#main[style]');
|
||||
if (main_hidden)
|
||||
main_hidden.removeAttribute('style');
|
||||
insert_script(hbr_main);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -51,5 +51,5 @@
|
|||
"webRequestBlocking",
|
||||
"*://*/*"
|
||||
],
|
||||
"version": "3.3.7.8"
|
||||
"version": "3.3.7.9"
|
||||
}
|
||||
|
|
|
@ -800,5 +800,5 @@
|
|||
"*://*.wyleex.com/*",
|
||||
"*://webcache.googleusercontent.com/*"
|
||||
],
|
||||
"version": "3.3.7.8"
|
||||
"version": "3.3.7.9"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue