Hacker News new | ask | show | jobs
by fwdpropaganda 2960 days ago
I'm surprised. I'm running uMatrix and block all js by default. Still, my mouse pointer got changed into a spaceship. How does this work?
3 comments

Looks like you can set the cursor [1] property on some root element and it replaces the cursor with a custom image.

[1]: https://developer.mozilla.org/en-US/docs/Web/CSS/cursor

To the moon!

From memory, it’s just CSS. You have a ‘pointer: spaceship.ico’ probably on the body.

cursor: url (path to spaceship.cur) or something like that.