This commit is contained in:
ghost 2018-07-15 21:18:32 -07:00
commit ad3462bbed
4 changed files with 16 additions and 5 deletions

View file

@ -1,6 +1,7 @@
Updates--
2018-07-14 v1.3.2: Add back clearing of localStorage in contentScript.js (fixes wapo.com)
2018-07-14 v1.3.3: Add back clearing of localStorage in contentScript.js (fixes wapo.com for U.S. users)
2018-07-08 v1.3.2: Fixed Haaretz (haaretz.co.il)
2018-07-07 v1.3.1: Added Business Insider (businessinsider.com)
2018-07-04 v1.3.0: Added The Denver Post (denverpost.com, note: need to turn off uBlock for this site), added Hacked (hacked.com)
2018-06-20 v1.2.10: Added The Business Journals (bizjournals.com)

View file

@ -20,4 +20,14 @@ if (window.location.href.indexOf("bizjournals.com") !== -1) {
while (paywall.length > 0) {
paywall[0].parentNode.removeChild(paywall[0]);
}
}
} else if (location.hostname.endsWith('haaretz.co.il')) {
const html = document.getElementsByTagName('html');
if (html && html.length > 0) {
html[0].style['overflow-y'] = 'auto';
}
const msg = document.getElementById('article-wrapper');
if (msg) {
msg.style['display'] = 'none';
}
}

View file

@ -4,7 +4,7 @@
},
"content_scripts": [
{
"matches": ["*://*.bizjournals.com/*", "*://*.businessinsider.com/*"],
"matches": ["*://*.bizjournals.com/*", "*://*.businessinsider.com/*", "*://*.haaretz.co.il/*"],
"js": ["contentScript.js"]
}
],
@ -43,5 +43,5 @@
"webRequest",
"webRequestBlocking"
],
"version": "1.3.2"
"version": "1.3.3"
}

View file

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<body>
<div style="width:220px;">Bypass Paywalls v1.3.2 by Adam
<div style="width:220px;">Bypass Paywalls v1.3.3 by Adam
<a href="options.html">Options</a></div>
</body>
</html>