Can robots execute Javascript?

Discussion in 'Programming' started by eamiro, Jan 29, 2012.

  1. #1
    I want to code an anti-robot script based on javascript. Can web robots execute the code ?
     
    Solved! View solution.
    eamiro, Jan 29, 2012 IP
  2. #2
    Yes and No.

    Will you find a robot that can actually read JavaScript and predict what the author is trying to do? No.

    Can a programmer study a JavaScript code and program their bot to behave a certain way to comply with the JavaScript? Certainly.
     
    NetStar, Jan 29, 2012 IP
    eamiro likes this.
  3. mmerlinn

    mmerlinn Prominent Member

    Messages:
    3,197
    Likes Received:
    819
    Best Answers:
    7
    Trophy Points:
    320
    #3
    All executable code can be executed by a bot if the bot is designed to execute the code.
     
    mmerlinn, Jan 29, 2012 IP
    eamiro likes this.
  4. bambook

    bambook Greenhorn

    Messages:
    31
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #4
    Google bot executes javascript. I checked it.
     
    bambook, Feb 2, 2012 IP