How can I click on specific (x,y) coordinates on a web page? [duplicate]

江枫思渺然 提交于 2019-12-14 03:29:47

问题


Possible Duplicate:
Triggering a JavaScript click() event at specific coordinates

Translated question:
I'm looking for a method to programmatically click on a specific (x,y) coordinate on a web page.

Original question:
hi i have reviewed many codes in the internet about how to let the pointer mouse move and click but i didnot find what i need example: there is a hyper link on (X=358,Y=13) of the page and it is get different every time you get visited the page i want any code html or php or java-script that i can put it through web page that let the cursor just click on that link that is on the coordination x,y and i need it to execute the command just when the some one open the web page dont tell me that i want redirection to specify url no i said (it is get different every time you get visited) i just want click on specify coordination no matter who is url thanks you very much i appreciate you all for help


回答1:


To put it simply, what you are trying to do isn't possible, because browsers specifically prevent you from doing this (for good security reasons).



来源:https://stackoverflow.com/questions/5047216/how-can-i-click-on-specific-x-y-coordinates-on-a-web-page

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!