Saturday, March 27, 2021

Browser Extensions: Make Your Icon Show Up

Ugh!

Coding can be awesome when things go right. Then other times, more often for me than not, things don't go as expected. 

It is extremely frustrating.

Look at the following screenshot. 


My icon is not showing up! 

Do you see how there are three icons that are greyed out? Here is how to fix that in the manifest.json file. 


The missing ingredient

The missing part in the manifest.json file, the part that I struggled with for months -- because the extension functioned and I couldn't be bothered -- was the icons section.



When icons is removed, the icon on the extension page in the browser is missing.




So, if you are developing an icon, remember to add icons

No comments:

Post a Comment