Font and color checker chrome extension in JavascriptJavaScript
I have written the belowthis code for a color and font checker on a webpage.
inject.js
inject.js
Font and color checker chrome extension in Javascript
I have written the below code for a color and font checker on a webpage.
inject.js
Font and color checker chrome extension in JavaScript
I have written this code for a color and font checker on a webpage.
inject.js
PoC: I want to highlight all the colors or fonts which should not be used on the webpage(the domain is defined by me as of now). I am traversing the DOM and checking the color and font styles and then highlight them if there are values out of my domain.
The current approach is very naive and not optimal because I am traversing and storing element styles, which is bad for duplicated DOM elements.
PoC: I want to highlight all the colors or fonts which should not be used on the webpage(the domain is defined by me as of now). I am traversing the DOM and checking the color and font styles and then highlight them if there are values out of my domain. The current approach is very naive and not optimal because I am traversing and storing element styles, which is bad for duplicated DOM elements.
PoC: I want to highlight all the colors or fonts which should not be used on the webpage(the domain is defined by me as of now). I am traversing the DOM and checking the color and font styles and then highlight them if there are values out of my domain.
The current approach is very naive and not optimal because I am traversing and storing element styles, which is bad for duplicated DOM elements.