Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<script>
window.addEventListener("load", function() {
setTimeout(function() {
window.location = "data:text/html,2";
}, 0);
});
window.addEventListener("pagehide", function() {
var x = document.createElement("object");
x.setAttribute("data", "data:text/plain,3");
document.documentElement.appendChild(x);
});
</script>