URL取得(JQuery)
/ ホスト名(ドメイン) $(location).attr('host'); / プロトコル $(location).attr('protocol'); / ドメイン以下のパス $(location).attr('pathname'); / パラメータ $(location).attr('search'); / ハッシュ(アンカー) $(location).attr('hash');