Source code
Revision control
Copy as Markdown
Other Tools
<html>
<head>
<script>
let pass = false;
let initialLoad = false;
function checkNavigationTypeEquals2() {
if (performance.navigation.type == 2) {
pass = true;
}
testDone();
}
function testDone() {
bc.postMessage({result: pass});
bc.close();
window.close();
}
function test() {
window.onpageshow = checkNavigationTypeEquals2;
window.location.href = 'goback.html';
}
</script>
</head>
<body onload="setTimeout(test, 0);">
</body>
</html>