如何在网页中的 Flash 小程序上模拟假的 MouseOver?
有没有什么方法可以向这个小程序发送一条假的 MouseOver 消息,以防止它在我唱到一半的时候打断我,也许可以使用 GreaseMonkey 脚本?我正在使用火狐浏览器。
I listen to internet radio at http://player.play.it/player/player.htm and it works pretty well, except for one minor issue. The Flash applet that runs the radio player has a timer on it, where if you don't move the mouse over the player every once in a while, it decides you're idle and shuts off the stream, even if you're not actually idle, but just working on something else with the radio player running in the background.
Is there any way I can send a fake MouseOver message to this applet to keep it from cutting me off in the middle of a song, maybe with a GreaseMonkey script? I'm using Firefox.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
查看播放器提供的 HTML.....
看起来
windowActive()
在页面的不同位置被多次调用。您可以尝试自己在计时器上调用它,看看会发生什么。Looking at the HTML that is served up with the player....
..It looks like
windowActive()
is being called a lot in different places on the page. You could try just calling it yourself, on a timer and see what happens.