Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Mar 2012
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Smile How do i bulid javascript autoclicker

    hey, i have somthing like 500 ad's in Car buying site.
    i built a .bat file that opens every ad in his own link, it goes like this:
    Code:
    start "~\chrome.exe" http://my.yad2.co.il/MyYad2/MyOrder/TruckDetails.php?CarID=309139
    start "~\chrome.exe" http://my.yad2.co.il/MyYad2/MyOrder/TruckDetails.php?CarID=309142
    @ping 127.0.0.1 -n 13 -w 1000 > nul
    @ping 127.0.0.1 -n %1% -w 1000> nul
    start "~\chrome.exe" http://my.yad2.co.il/MyYad2/MyOrder/4X4Details.php?CarID=284971
    start "~\chrome.exe" http://my.yad2.co.il/MyYad2/MyOrder/4X4Details.php?CarID=284973
    now i am having trouble to autoclick the javascript button on each link.
    someone told me i need to build a .js file that called from the .bat file
    i mean in the .bat file i will need to put "call c:/autoclicker.js
    10x everyone!

    This is the link i want to autoclick:

    Code:
    <a href="javascript:void(0);" onclick="location.href='/MyYad2/MyOrder/TruckDetails.php?CarID=312535&amp;Up=u'">
    								<img style="border: 0px;" src="http://images.yad2.co.il/Pic/site_images/yad2/MyYad2/images/myorderbottom/new/jump_ad.jpg" alt="">
    							</a>
    Last edited by almog1246; 03-25-2012 at 03:53 PM.

  • #2
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    18,011
    Thanks
    203
    Thanked 2,538 Times in 2,516 Posts
    I am not sure what you mean by an "autoclicker" here, but in any case generating an unrequested click (one not made by the user) on a link is not possible. Security, you know.

    All the code given in this post has been tested and is intended to address the question asked.
    Unless stated otherwise it is not just a demonstration.

  • Users who have thanked Philip M for this post:

    almog1246 (03-25-2012)

  • #3
    New to the CF scene
    Join Date
    Mar 2012
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts
    acttualy i dont know lol becuase i never try doing it before;
    most be some way to pass it out?

    when i wirte in link source
    Code:
    javascript:location.href='/MyYad2/MyOrder/TruckDetails.php?CarID=312535&amp;Up=u
    its automatic upload the ad to the same date!!! how can it be ?

  • #4
    New to the CF scene
    Join Date
    Mar 2012
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts
    bump !!!
    i must do it, please help me.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •