<html
<head>
<script type="text/javascript">
window.onload = function() {
console.log('test loaded');
}
</script>
</head>
<body>
inner test
</body>
</html>
<html
<head>
<script type="text/javascript">
window.onload = function() {
console.log('test loaded');
}
</script>
</head>
<body>
inner test
</body>
</html>