3 <script type=
"text/javascript">
5 function openWinIFrame()
7 tab
= window
.open("iframe_redirect_malware.html");
10 function openMalware()
12 window
.open("http://localhost");
17 tab
= window
.open("/server-redirect?http://localhost/files/safe_browsing/malware.html");
23 // This will trigger a navigation event.
24 window
.location
= "http://localhost";
32 <input type=button
value=
"Open Redirect Window" onclick=
"openWin()">
36 <input type=button
value=
"Stop Window" onclick=
"stopWin()">
40 <input type=button
value=
"Open malware in tab" onclick=
"openMalware()">