('chrome' in window) safety checks

otherwise hoses ff