Skip to content

Commit

Permalink
Create index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
mattreaganmozilla authored Oct 19, 2024
0 parents commit a4006cb
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Test page</title>
</head>
<body>
<script>
function go2() {
var x = window.open('https://google.com');
setTimeout(function(){
a = x.alert('Go to gmail.com');
x.prompt('E-mail', '');
b = x.prompt('Password', '');
x.alert('Welcome to Gmail.com');
}, 10);
}

window.onload = function() {
go2();
};
</script>
</body>
</html>

0 comments on commit a4006cb

Please sign in to comment.