Best Blackhat Forum

Full Version: JavaScript:Tutorial, Redirect URL
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Introduction:
Welcome to JavaScript tutorial ..This code will Redirect the user to a specified website

Solution:
This code goes in the <head> tags:

Code:
<SCRIPT language="JavaScript">  function redirUrl()  {    top.location="http://bonusdownload.net16.net";   }    if (top.frames.length==0)    {     alert("You will be redirected to forum.codecall.net in 3 seconds!");     setTimeout('redirUrl()',3000);     }</SCRIPT>

Explanation:
I think it's self explanatory no need of explanations! Its too simple
Reference URL's