如何单击网页上的特定(x,y)坐标? [英] How can I click on specific (x,y) coordinates on a web page?

查看:99
本文介绍了如何单击网页上的特定(x,y)坐标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


可能存在重复:

在特定坐标处触发JavaScript click()事件


翻译过的问题:

我正在寻找一种方法来以编程方式点击网页上特定的(x,y)坐标。



原始问题:

您好,我已经查看了许多关于如何让指针鼠标移动并点击的代码没有找到我需要的例子:页面上有一个超链接(X = 358,Y = 13),每次访问页面时都会有所不同,我想要任何代码html或php或java-script可以通过网页,让光标只需点击协调x,y上的链接,我需要它执行命令时,只要有人打开网页不要告诉我我想要重定向来指定网址没有我说过(每次访问时它都会有所不同)我只是想点击指定的协调无论谁是网址非常感谢你们所有人的帮助

$ b $简单地说,你试图做的事情是不可能的,因为浏览器明确地阻止你这样做(出于良好的安全原因)。

/ p>

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

解决方案

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).

这篇关于如何单击网页上的特定(x,y)坐标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆