I build an extension to Google Chrome that changes the cursor and every time I go over a tag that have style cursor: pointer i'm change the cursor I currently take and check every tag with the cursor is a pointer if it true I change it but I do not want every time the page refreshes to loop all the tags it is not Effective Is there a way to determine that every tag that have style cursor: pointer, pointer going to be something that i declared
Asked
Active
Viewed 175 times
0
-
"pointer is written"? do you mean a listener to every time the user point the cursor ? . It depends how your app build .. if you have wrap page as index.html you can put the code there maybe(to prevent loading on navigate etc.) and what about to use `CSS` instead JS? – לבני מלכה Nov 29 '21 at 08:39
1 Answers
0
Inject a style CSS to override all tags from cursor: pointer;
to cursor: initial;

SLyHuy
- 565
- 6
- 12
-
-
-
1@NetanelNikitaSto Please check this question: https://stackoverflow.com/questions/7619095/how-to-inject-css-into-webpage-through-chrome-extension – SLyHuy Nov 29 '21 at 09:11