Windows 7, Internet Explorer 9
Code: Select all
html =
(join`r`n
<!DOCTYPE html>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<input type="button" value="test" onclick='alert(JSON + " _ " + t + " _ " + Object.keys)'>
<script>
//This comment line prevents the codes below to be executed
alert("w");
t = "ttt";
alert("f");
</script>
<br>123
)
;clipboard := html
gui, add, ActiveX, w600 h400 vIE_ActiveX_Output, % "about:" html
;gui, add, ActiveX, w600 h400 vIE_ActiveX_Output, shell.Explorer
;IE_ActiveX_Output.Navigate("about:" html)
;gui, add, ActiveX, w600 h400 vIE_ActiveX_Output, about:blank
;IE_ActiveX_Output.document.write(html)
gui, show
return
guiclose(){
exitapp
}