009-1.html (457B)
1 <!doctype html> 2 <html> 3 <head> 4 <title>history.pushState/replaceState and referer headers</title> 5 </head> 6 <body> 7 8 <noscript><p>Enable JavaScript and reload</p></noscript> 9 <div id="log"></div> 10 <script type="text/javascript"> 11 window.onload = function () { 12 setTimeout(function () { 13 try { history.pushState('','','009-2.html?1234'); } catch(e) {} 14 location.href = '009-3.html?pipe=sub'; 15 },10); 16 }; 17 </script> 18 19 </body> 20 </html>