Change the way of detecting mouse to the pattern of navigator string