Custom cursor larger than 32px will be ignored when intersecting UI

Published: | Categories: CSS


The CSS cursor property allows websites to change the style of the mouse pointer to one of predefined types or custom image. While most use cases are legit, some malicious sites are known to be abusing this functionality to hijack the cursor, preventing users from closing the browser tab.

In an effort to prevent this kind of UX issues, on Firefox 67 and later, custom cursor images larger than 32 pixels will be ignored and failed back to the default cursor while intersecting with the browser UI. Web developers can still use a large custom cursor in the content area, particularly for games.

Google is making the same change to Chrome 75.