Skip to main content
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link

I got this odd error in my Stack Snippet today:

Uncaught SecurityError: Sandbox access violation: Blocked a frame at "http://stacksnippets.net" from accessing a frame at "null". Both frames are sandboxed and lack the "allow-same-origin" flag.

It happens when trying to run the snippet in this postthis post of mine. I removed the snippet and replaced it with plain code + JSFiddle linkJSFiddle link, but what's up with that? Another answer to the question includes a working snippet. Maybe it's jQuery 1.11.1 vs 2.1.1?

I've included the snippet below for testing.

I'm using Chrome 48.0.2564.116 on Ubuntu.

        $("#click").click(
            function fadeIn() {
                $("p:hidden").first().fadeIn("slow", fadeIn);

            }
        );
p {display: none}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.js"></script>
<button id="click">click</button>
<p>paragraph 1</p>
<p>paragraph 2</p>
<p>paragraph 3</p>
<p>paragraph 4</p>
<p>paragraph 5</p>

I got this odd error in my Stack Snippet today:

Uncaught SecurityError: Sandbox access violation: Blocked a frame at "http://stacksnippets.net" from accessing a frame at "null". Both frames are sandboxed and lack the "allow-same-origin" flag.

It happens when trying to run the snippet in this post of mine. I removed the snippet and replaced it with plain code + JSFiddle link, but what's up with that? Another answer to the question includes a working snippet. Maybe it's jQuery 1.11.1 vs 2.1.1?

I've included the snippet below for testing.

I'm using Chrome 48.0.2564.116 on Ubuntu.

        $("#click").click(
            function fadeIn() {
                $("p:hidden").first().fadeIn("slow", fadeIn);

            }
        );
p {display: none}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.js"></script>
<button id="click">click</button>
<p>paragraph 1</p>
<p>paragraph 2</p>
<p>paragraph 3</p>
<p>paragraph 4</p>
<p>paragraph 5</p>

I got this odd error in my Stack Snippet today:

Uncaught SecurityError: Sandbox access violation: Blocked a frame at "http://stacksnippets.net" from accessing a frame at "null". Both frames are sandboxed and lack the "allow-same-origin" flag.

It happens when trying to run the snippet in this post of mine. I removed the snippet and replaced it with plain code + JSFiddle link, but what's up with that? Another answer to the question includes a working snippet. Maybe it's jQuery 1.11.1 vs 2.1.1?

I've included the snippet below for testing.

I'm using Chrome 48.0.2564.116 on Ubuntu.

        $("#click").click(
            function fadeIn() {
                $("p:hidden").first().fadeIn("slow", fadeIn);

            }
        );
p {display: none}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.js"></script>
<button id="click">click</button>
<p>paragraph 1</p>
<p>paragraph 2</p>
<p>paragraph 3</p>
<p>paragraph 4</p>
<p>paragraph 5</p>

not using minified jquery to simplify debugging
Source Link
m0sa Mod
  • 10.9k
  • 2
  • 30
  • 35

I got this odd error in my Stack Snippet today:

Uncaught SecurityError: Sandbox access violation: Blocked a frame at "http://stacksnippets.net" from accessing a frame at "null". Both frames are sandboxed and lack the "allow-same-origin" flag.

It happens when trying to run the snippet in this post of mine. I removed the snippet and replaced it with plain code + JSFiddle link, but what's up with that? Another answer to the question includes a working snippet. Maybe it's jQuery 1.11.1 vs 2.1.1?

I've included the snippet below for testing.

I'm using Chrome 48.0.2564.116 on Ubuntu.

        $("#click").click(
            function fadeIn() {
                $("p:hidden").first().fadeIn("slow", fadeIn);

            }
        );
p {display: none}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<button id="click">click</button>
<p>paragraph 1</p>
<p>paragraph 2</p>
<p>paragraph 3</p>
<p>paragraph 4</p>
<p>paragraph 5</p>

I got this odd error in my Stack Snippet today:

Uncaught SecurityError: Sandbox access violation: Blocked a frame at "http://stacksnippets.net" from accessing a frame at "null". Both frames are sandboxed and lack the "allow-same-origin" flag.

It happens when trying to run the snippet in this post of mine. I removed the snippet and replaced it with plain code + JSFiddle link, but what's up with that? Another answer to the question includes a working snippet. Maybe it's jQuery 1.11.1 vs 2.1.1?

I've included the snippet below for testing.

I'm using Chrome 48.0.2564.116 on Ubuntu.

        $("#click").click(
            function fadeIn() {
                $("p:hidden").first().fadeIn("slow", fadeIn);

            }
        );
p {display: none}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<button id="click">click</button>
<p>paragraph 1</p>
<p>paragraph 2</p>
<p>paragraph 3</p>
<p>paragraph 4</p>
<p>paragraph 5</p>

I got this odd error in my Stack Snippet today:

Uncaught SecurityError: Sandbox access violation: Blocked a frame at "http://stacksnippets.net" from accessing a frame at "null". Both frames are sandboxed and lack the "allow-same-origin" flag.

It happens when trying to run the snippet in this post of mine. I removed the snippet and replaced it with plain code + JSFiddle link, but what's up with that? Another answer to the question includes a working snippet. Maybe it's jQuery 1.11.1 vs 2.1.1?

I've included the snippet below for testing.

I'm using Chrome 48.0.2564.116 on Ubuntu.

        $("#click").click(
            function fadeIn() {
                $("p:hidden").first().fadeIn("slow", fadeIn);

            }
        );
p {display: none}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.js"></script>
<button id="click">click</button>
<p>paragraph 1</p>
<p>paragraph 2</p>
<p>paragraph 3</p>
<p>paragraph 4</p>
<p>paragraph 5</p>

Source Link
Scimonster
  • 33.4k
  • 1
  • 26
  • 51

"Sandbox access violation" error in Stack Snippet

I got this odd error in my Stack Snippet today:

Uncaught SecurityError: Sandbox access violation: Blocked a frame at "http://stacksnippets.net" from accessing a frame at "null". Both frames are sandboxed and lack the "allow-same-origin" flag.

It happens when trying to run the snippet in this post of mine. I removed the snippet and replaced it with plain code + JSFiddle link, but what's up with that? Another answer to the question includes a working snippet. Maybe it's jQuery 1.11.1 vs 2.1.1?

I've included the snippet below for testing.

I'm using Chrome 48.0.2564.116 on Ubuntu.

        $("#click").click(
            function fadeIn() {
                $("p:hidden").first().fadeIn("slow", fadeIn);

            }
        );
p {display: none}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<button id="click">click</button>
<p>paragraph 1</p>
<p>paragraph 2</p>
<p>paragraph 3</p>
<p>paragraph 4</p>
<p>paragraph 5</p>