我的网站上有很多按钮,我想编写一个扩展程序,当鼠标在其上移动时,无需每次都进行物理点击即可单击按钮。
我用python语法写了我需要的东西,因为我在JavaScript方面没有很好的经验。 如何用javascript编写? 非常感谢
for button in buttons list:
if (button.mouse.move(function(event)) == true && button.background.color == transparent)
button.mouse.click= 1