結果 : check if url is valid javascript