I made a browser extension that replaces all the images with cat memes. I learned how to make manifest.json and how to work with MutationObservers and other extension specific things. The most challenging part was by far making all the tabs restart simultaneously when the extension setting is changed (on/off). This is mainly because messaging between tabs needs a lot of async functions.
Finished the extension. Added readme, added mutation observer to listen to new images being added, changed the extension icons, added simple css to the popup, added local storage to save the on/off state, all tabs now update at once when the on/off state changes
Log in to leave a comment