JavaScript Redirect


/ Published in: JavaScript
Save to your folder(s)

Basic JavaScript browser redirect.


Copy this code and paste it in your HTML
  1. <script type="text/javascript">
  2. window.location.href = 'http://www.google.com/';
  3. </script>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.