結果 : get hostname from url string javascript