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>