Javascript using link user click simulation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mike809
    New Member
    • Aug 2011
    • 5

    Javascript using link user click simulation

    I'd like to get contents of a website using JavaScript menu. I need to simulate clicks (or typing javascript:goto Page("p10"); into a browser) on menu links to be able to move from one page to another.

    Basically the process will look like this:
    while (any_content) {
    file_get_conten ts();
    clickalink();
    }

    Can cURL or JSON be used for this task?
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    no. you would need a programme that executes the JavaScript. PHP does not have that capability.

    Comment

    Working...