In Xul or javascript, is there a way to hide the mouse cursor?

In Xul or javascript, is there a way to hide the mouse cursor?

+3
source share
3 answers

try it

#elementID{
     cursor: none;
  }

Mark MDC: Cursor . Its CSS3 is therefore only supported in CSS3 compatible browsers.

+2
source

If CSS can be applied in XUL, use cursor: none;

+1
source

In XUL chrome windows, you can also use the global function setCursor , which simultaneously overrides the cursor for the entire DOM window (but there are no subframes). It takes one parameter, which is one of the values ​​of the CSS cursor.

+1
source

Source: https://habr.com/ru/post/1791268/


All Articles