Safari console: Blocked a frame…

In Safari’s console, when I cross a notebook’s cell border, I get the following message:

Blocked a frame with origin "" from accessing a frame with origin "". Protocols, domains, and ports must match.

Notebook itself runs as expected.

Seems like a specific Safari security issue.

What is the best way to avoid this?

Hi Martien,

Unfortunately, this appears to be a change in recent versions of Safari.

There’s nothing you can do in your notebook to avoid this. The change will have to come from either another Safari update, or an update to React (the library that we depend on to build the Observable interface). We’ll see if we can get some forward motion to work on a fix in the latter.

In the meantime, you can quiet the warnings by only viewing the “Logs” in your Safari console:


… although that will have the unfortunate side effect of silencing other errors as well, until you toggle back.

For reference, here’s the associated React ticket:

1 Like

Ah, right. Clears it up. Okay, I can live with it for a while. Annoying but workable. Hope Apple and/or React will solve it in the near future.

Wonderful. It’s been worked on already. Thanks.