Catch any url entered into a text field and trigger events related to the type of url