How to simulate mouse clicking the tag button on another page when A. php is opened
Automatically simulate mouse clicks
Add the tag button under another page (www.xxx.com)
How should experts write this code?
Reply to discussion (solution)
Why simulate opening the page and simply execute a default function?
This is a cross-origin issue.
To simulate the mouse operation, you have to do the desktop program. There are direct mouse functions that can be called.
If you want to simulate data submission, you can.
He does not use form for submission, but does not use onclick = "javascript for submission. so I just want to simulate click sending with the mouse to achieve the goal of submission.
How long does it take to open A. php?
Is it an instant transfer to another page? Or stay?
Stay in A. php, open A. php, simulate the mouse, and click add follow under www.xxx.com.
Click the button to capture the package and send it to a. php.
I have used snoopy to simulate the login he wants to log on to, but his button is a text field submitted in javascript, so it's hard for me.
Try another method. it seems that the method of simulating clicks cannot be implemented, or the method of directly sending data is more likely.
I have used snoopy to simulate the login he wants to log on to, but his button is a text field submitted in javascript, so it's hard for me.
According to the landlord's statement, it seems that Ajax is used for asynchronous transmission?
Http://topic.csdn.net/u/20120516/16/d789c8ea-3313-4936-b500-4714e1aefb43.html? 22335
This is a cross-domain problem that cannot be solved.
Isn't it just the number of followers? why?
Does anyone understand this? I searched Baidu Google CSDN and did not find any relevant information! Is it so difficult to simulate clicks?
Experts Help me !!!!
Does anyone understand this?
Is the problem solved? I also encountered a similar problem. after a packet is captured, it cannot be sent to the webpage triggered by JS by the other party through curl, but the page to which the packet is captured is actually POST ........