Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unexplained "Blocked a frame with origin" messages in console log

When I view the console on many websites, including Stack Overflow, I get (often several instances of) the following error:

Error in event handler for (unknown): Blocked a frame with origin "<URL>"
from accessing a cross-origin frame. 

It would seem reasonable to expect that perhaps a few websites I use have misconfigured CORS policies but quite suddenly it appears in my log for many sites that I use where it never did before.

I'm running the latest stable Chrome (34.0.1847.131) as of today, and I have tried closing out and rebooting to no avail.

like image 868
Marc Kline Avatar asked May 06 '14 21:05

Marc Kline


1 Answers

The problem is likely not with the websites but with a chrome extension you have installed. The stacktrace you see below that error should give you a clue which one it is.

chrome-extension://somelongextensionidhere/somejavascript.js

View your chrome extensions under settings and check "developer mode" box at the top to view the extension IDs. The problem should go away once you disable the offending extension.

like image 172
Glackk Avatar answered Oct 14 '22 16:10

Glackk