简体   繁体   中英

How can I do autoclick with javascript or jquery?

Friends I want to do this : When I enter the website automatically click a point(x,y coordinates). I've been searching the net for two months, but I can't find it. Please help me?

试试下面的java脚本代码,其中x,y是坐标,

document.elementFromPoint(x, y).click();

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM