prepare for chrome extension