Web 浏览器:隐藏鼠标光标 [英] Web browser: Hide mouse cursor
问题描述
是否可以在网络浏览器中隐藏鼠标光标?
我已经在 Flash 中为触摸屏应用程序完成了此操作,在该应用程序中,鼠标光标会分散注意力且不需要.这次是针对非交互式的显示屏幕,因此不需要鼠标光标.
I've done this in Flash for a touch screen application, where a mouse cursor is distracting and unneeded. This time it's for a display screen that is non-interactive, so a mouse cursor is not needed.
我的直觉是在网络浏览器中没有简单的方法可以实现这一点,只能通过使用浏览器插件.
My gut feeling is there's no easy way to achieve this in the web browser, only by use of a browser plug-in.
正在使用的浏览器是 Firefox,那么也许有一个插件可以实现这一点?虽然最好能够通过 JavaScript/jQuery 做到这一点.
The browser in use is Firefox, so perhaps there's a plug-in that achieves this? Although it would be preferable to be able to do this via JavaScript/jQuery.
推荐答案
只需使用 CSS 规则:
Just use a CSS rule:
* {
cursor: none;
}
这篇关于Web 浏览器:隐藏鼠标光标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!