add host check before pasting url into input field