added check for chrome extension