Add back clearing of localStorage in contentScript.js (fixes wapo.com)

This commit is contained in:
ghost 2018-07-14 16:24:13 -07:00
parent 5eb909bdca
commit a6050a9372
5 changed files with 4 additions and 4 deletions

View file

@ -65,7 +65,6 @@ const allow_cookies = [
'theage.com.au', 'theage.com.au',
'economist.com', 'economist.com',
'bostonglobe.com', 'bostonglobe.com',
'washingtonpost.com',
'denverpost.com', 'denverpost.com',
'hacked.com' 'hacked.com'
] ]
@ -80,7 +79,6 @@ const remove_cookies = [
'theage.com.au', 'theage.com.au',
'economist.com', 'economist.com',
'bostonglobe.com', 'bostonglobe.com',
'washingtonpost.com',
'denverpost.com', 'denverpost.com',
'hacked.com' 'hacked.com'
] ]

View file

@ -1,5 +1,6 @@
Updates-- Updates--
2018-07-14 v1.3.2: Add back clearing of localStorage in contentScript.js (fixes wapo.com)
2018-07-07 v1.3.1: Added Business Insider (businessinsider.com) 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-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) 2018-06-20 v1.2.10: Added The Business Journals (bizjournals.com)

View file

@ -1,3 +1,4 @@
window.localStorage.clear();
if (window.location.href.indexOf("bizjournals.com") !== -1) { if (window.location.href.indexOf("bizjournals.com") !== -1) {
const hiddenStory = document.getElementsByClassName( const hiddenStory = document.getElementsByClassName(
"js-pre-chunks__story-body" "js-pre-chunks__story-body"

View file

@ -43,5 +43,5 @@
"webRequest", "webRequest",
"webRequestBlocking" "webRequestBlocking"
], ],
"version": "1.3.1" "version": "1.3.2"
} }

View file

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