equal
deleted
inserted
replaced
1 <html> |
|
2 <head> |
|
3 <script type="text/javascript"> |
|
4 var req; |
|
5 |
|
6 function connect() { |
|
7 req = new XMLHttpRequest(); |
|
8 req.onreadystatechange = testconnection; |
|
9 req.open("GET", "testConnection" + window.location.search, true); |
|
10 req.send(null); |
|
11 } |
|
12 |
|
13 function testconnection() { |
|
14 if (req.readyState == 4) { |
|
15 if (req.status != 200) { |
|
16 window.setTimeout(connect, 200); |
|
17 } else { |
|
18 window.location = '../wrt_preview_main.html'; |
|
19 } |
|
20 } |
|
21 } |
|
22 </script> |
|
23 </head> |
|
24 <body onload="connect()" style="color: silver;"> |
|
25 |
|
26 </body> |
|