function navigateAway() {
document.getElementById("anchor").click();
}
functiondoTest
<>
// this failthe time, but work second
window.ok_wrapper, "adocumentthat was loaded navigated to anotherdocument had 'allow-same-origin addedand "+ " navigated back should besame-origin its parent";
} catch (e) {
navigateAway();
}
}
</script>
<body onload='doTest()'>
I am sandboxed with 'allow-scripts'
<a href='file_iframe_sandbox_d_if12.html' id='anchor'>CLICK ME</a>
</body>
</html>
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.