I am trying to create a chrome extension that, when you click a button, highlights predetermined set of text. For example, a button called “colors,” when clicked, highlighted any mention of colors (blue, green, red, etc.) on that page.
I’ve looked around everywhere for a sample guide on making a similar extension, and I cannot seem to find any info.
I recently downloaded CRX (the chrome extension source viewer) on my computer, so that I can look at the source code of any chrome extension out there.
There is a specific extension, called Pearls Extension that does probably the closest to what I am trying to accomplish. The only difference is that this extension allows the user the input the text they want to highlight, whereas I merely want a button that would highlight any text that I have predetermined in the backend.
If you have any resources (or advise) that can help guide me in doing this, please let me know!!!