make a general template to a chrome extension.