SEO question regarding a specific javascript event – advanced stuff

Discussion in 'Search Engine Optimization' started by datentravel, Feb 23, 2010.

  1. #1
    Hi
    I’m thinking about implementing a javascript “on before unload” event.

    Its purpose - if someone is leaving my site, it will direct him to another page.

    My question is – do you see any SEO damage this could do to my site? Even if there is a %0.00001 chance that it could harm my site’s SEO I’d need to pass.

    This script is very close to what I’m talking about: (but not entirely).
    add www.hunlock.com/blogs/Mastering_The_Back_Button_With_Javascript

    What do you say, oh great SEO lords?
     
    datentravel, Feb 23, 2010 IP
  2. seolove

    seolove Active Member

    Messages:
    377
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #2
    will it also do same with Robots ?
     
    seolove, Feb 23, 2010 IP
  3. brother_of_devil

    brother_of_devil Peon

    Messages:
    166
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #3
    JavaScript executes on a client's machine so it won't affect the SEO aspect at all since Google doesn't execute JS, as far as I know (I've tested this a while ago).
     
    brother_of_devil, Feb 23, 2010 IP
  4. brother_of_devil

    brother_of_devil Peon

    Messages:
    166
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Robots.txt can't contain JavaScript so your quesiton is senseless.
     
    brother_of_devil, Feb 23, 2010 IP
  5. seolove

    seolove Active Member

    Messages:
    377
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #5
    I am talking about crawlers
     
    seolove, Feb 23, 2010 IP
  6. brother_of_devil

    brother_of_devil Peon

    Messages:
    166
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Crawlers do not execute JS. Don't worry. For now. Maybe some day they will.
     
    brother_of_devil, Feb 23, 2010 IP