Content.js would be greatly optimized if it had none of the console logs (including commented ones) and had everything that can be turned into well named and documented functions.
This would improve readability as well as making it much easier to mod.