Codes for the chrome extension