3

It's been bothering me for some time. Every snippet I try to run will output an error:

Uncaught SecurityError: Failed to read the 'localStorage' property from 'Window': The document is sandboxed and lacks the 'allow-same-origin' flag.

Example

console.log("Hello world!");

Illustration

Console output shows the error message above as well as the file name, line and column numbers.

Environment

Google Chrome 69.0.3497.100 on macOS High Sierra.
Privacy Badger 2018.10.3.1
HTTPS Everywhere 2018.9.19

4
  • 3
    Yea, that's completely privacy badger bein overzealous. I don't think this is something SO should (or maybe even can) fix.
    – Cerbrus
    Oct 7, 2018 at 6:02
  • 2
    (The official version is "Hello, World!".) Oct 7, 2018 at 8:41
  • Sorry for getting to this late, but the issue was PB being a little overzealous.
    – Tim Post
    Dec 6, 2018 at 15:25
  • @TimPost OK, I tested PB update and the error is gone. Good thing that we reported the issue to PB.
    – Cœur
    Dec 6, 2018 at 15:55

1 Answer 1

3

PrivacyBadger fixed this in version 2018.12.05.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .