Created
February 8, 2019 20:47
-
-
Save sefeng211/1c026df5d440bd56a7698f2e0d3d7de4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"/> | |
</head> | |
<body> | |
<h1>Dondon</h1> | |
<iframe width="400" height="500" src="http://sefeng.me/testing/slow_response_2.html"></iframe> | |
<p id="parent_onload"></p> | |
<script> | |
window.onload = function() { | |
let onloadStart = performance.now(); | |
console.log("Parent OnLoad Event Starts At: " + onloadStart); | |
let text = "Parent OnLoad Event Starts At: " + onloadStart; | |
document.getElementById("parent_onload").innerHTML = text; | |
} | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment