disconnectme / disconnect

Disconnect is a browser extension that makes the web faster, more private, and more secure.
https://disconnect.me/
GNU General Public License v3.0
781 stars 136 forks source link

port.js errors on whitelisted site #268

Closed xurizaemon closed 10 years ago

xurizaemon commented 10 years ago

When visiting a site which is whitelisted, I see four or five errors regarding localStorage.

Uncaught SecurityError: Access to 'localStorage' is denied for this document.
    chrome-extension://jeoacafpbcihiomhlakheieifhpjdfeo/scripts/vendor/port/port.js:30

Disabling disconnect.me or blacklisting the site both prevent the error appearing from this origin.

(Disabling disconnect.me displays a similar error but with an origin of sh147.html which I think is an AddThis embed being denied localStorage instead.)

Chrome 32.0.1700.77 on OSX 10.9, "Block third-party cookies and site data" enabled.

oldestlivingboy commented 10 years ago

Thanks for the report!

We have a duplicate (or close enough) issue (web storage shouldn't be used by a content script) filed under the port.js project: https://github.com/disconnectme/port/issues/1.