Skip to content

Instantly share code, notes, and snippets.

@andreburto
Last active January 26, 2018 23:00
Show Gist options
  • Select an option

  • Save andreburto/c3815ce93d20b8bb9e5071fa493c7403 to your computer and use it in GitHub Desktop.

Select an option

Save andreburto/c3815ce93d20b8bb9e5071fa493c7403 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<title>Polyglot</title>
<hta:application applicationname="Polyglot" scroll="no" singleinstance="no" />
<script type="text/vbscript">
Sub Window_onLoad
window.resizeTo 250,250
End Sub
Function clickMe1
MsgBox("Click 1")
clickMe2()
End Function
Function clickMe3
MsgBox("Click 3")
End Function
</script>
<script type="text/javascript">
function clickMe2() {
alert("Click 2");
clickMe3();
}
</script>
</head>
<body>
<p><input type="button" onclick="clickMe1()" value="Click me!" /></p>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment