helps to search html according to the directions from chrome/firefox