Chrome extension detection.  Moved out logic for guessing what polling mechanism to use.