support pasting URL for input