fkyoureadthedoc 10 hours ago

Probably because they seem to be recreating the cursor on the webpage for that cool effect. Even on a good computer I have some input lag, and going from very low input lag and 120fps cursor to that it feels slightly off. Although I might be imagining it just because it looks different than the normal one...

1
ImHereToVote 9 hours ago

Browser don't support replacing cursor images natively for obvious reasons. You have to use JavaScript for that.

jampekka 9 hours ago

CSS supports replacing cursor images natively.

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

Ajedi32 7 hours ago

In this case it looks like they didn't just want an image though, they wanted the cursor to invert the color of whatever part of the web page it's over, and to seamlessly morph into a selection highlight whenever you mouse over certain controls. Seems like that's a lot harder to make performant.

freeone3000 2 hours ago

You can do that by changing the cursor icon for the elements in question. The CSS rule does support per-element swapping (because of course it does, that’s how a text input has a bar but a button has a pointer).

jampekka 1 hour ago

The cursor color inversion can't be done with CSS though.

freeone3000 1 hour ago

Use a different colored image.

The background colour of the hovered element is known. When you specify the bgcolor, also override the cursor image.

johnisgood 18 minutes ago

I am pretty sure it is doable in CSS.

magios 5 hours ago

another thing to block in firefox userContent.css as there doesn't appear to be an option for it in about:config

yjftsjthsd-h 8 hours ago

The only obvious reason I can think of is security concerns (some sort of user confusion), but JS wouldn't help with that. What other reasons are there?