1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Hey Guest Last month we upgraded BlackHatWorld.com to a new platform - . If you notice anything that requires attention please start a new thread here.
    Dismiss Notice

Javascript Redirect new tab

Discussion in 'HTML & JavaScript' started by angeal, Jan 24, 2013.

  1. angeal

    angeal Junior Member

    Joined:
    Dec 23, 2009
    Messages:
    142
    Likes Received:
    21
    I`ve been searching over this forum about javascript redirect, but i can`t find it. The example u can see on piratebay.

    Anybody willing to share the script?
     
  2. NojWang

    NojWang Newbie

    Joined:
    Dec 19, 2011
    Messages:
    42
    Likes Received:
    15
    Occupation:
    Entrepreneur
    Location:
    Canada
    I would be very surprised to find out that TPB didn't use a 301 redirect for their domain change .org --> .se
     
  3. firescape

    firescape Newbie

    Joined:
    Feb 1, 2013
    Messages:
    10
    Likes Received:
    0
    There are many ways to redirect with javascript:

    location.replace('yoursitelink');
    location.href = "yoursitelink";