| Do you mean three separate js files? Two of them are plugin specific files I separated out to make managing the different features easier. The only library I'm loading is tinycolor.js, which I added for the togglable feature where it checks the site background colors and adds an appropriate gray for it. You'll find that making the background always be white doesn't actually work some of the time, especially for sites with darker backgrounds. The extension is (god forbid) more than one line of code because I wanted to add features and controls I didn't see in other plugins, like: * setting it for specific tabs * setting it for all sites * being able to save sites to always be gray * being able to exclude sites from being gray when the "tab" or "all sites" settings are on I too wish extensions had the built in functionality to add/remove saved sites, tabs, etc, but as that's not the case today, I had to do it myself with the chrome extension APIs. |