Change specific cursor with addon

Trying to change the grab and grabbing cursors to 2 png files in my addon folder. How do i target these specific cursors, hide them then render the png files there?

Customizing cursors with an extension isn’t very straight forward. Since WebExtensions are built using web technologies, you need to style the cursor using the cursor property from CSS. See this CSS Tricks post for information on how to customize a cursor in a web page.

Since each website is styled independently, you’ll need to inject your custom styles into every page the user visits. You can do this with a content_scripts declaration in your extension’s manifest (see also content scripts for a more general overview).