a better way to check changes of url

Sorry...I just modify it according to your comment.