window-open-location-change.html 253 B

12345678910111213141516
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title></title>
  6. </head>
  7. <body>
  8. foo
  9. <script type="text/javascript">
  10. setTimeout(function () {
  11. window.location = 'bar://page'
  12. })
  13. </script>
  14. </body>
  15. </html>