Redirect site into new tab without click

Redirect site into new tab on page load.
Simply edit your index files or other page which you want to redirect
Next put the below code after <html>  and save. site are page is redirect.
Replace with your site where you want to redirect.

<script type="text/javascript">
 function open_in_new_window(url )
    var, '_blank');//open new url
    win.focus();//focus the newly opened url
    <body onload="open_in_new_window('')"></body>

Redirect in same page without click

If you want to redirect in same page use these codes like upper .

 <meta http-equiv="refresh" content="1;url=">

Redirect in same page without click using javascript

Also you can use javascript for redirction on same page
Use below codes like others

 <script type="text/javascript">

If  you have any problem in these codes keep comment and feel free 

Post a Comment Blogger