<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                [https://www.runoob.com/jsref/obj-location.html](https://www.runoob.com/jsref/obj-location.html) [https://developer.mozilla.org/zh-CN/docs/Web/API/Location](https://developer.mozilla.org/zh-CN/docs/Web/API/Location) ``` console.log(window.location.href)//http://www.aoweiya.com/index/ProductOage/index.html?cate=74&p=2#dash console.log(window.location.pathname)//index/ProductOage/index.html console.log(window.location.hash)//#dash console.log(window.location.host)//www.aoweiya.com console.log(window.location.host)//www.aoweiya.com console.log(window.location.hostname)//www.aoweiya.com console.log(window.location.port)//"" console.log(window.location.protocol)//http: console.log(window.location.search)//?cate=74&p=2 ``` ## Location 對象屬性 | 屬性 | 描述 | | :-- | :-- | | [hash](https://www.runoob.com/jsref/prop-loc-hash.html) | 返回一個URL的錨部分 | | [host](https://www.runoob.com/jsref/prop-loc-host.html) | 返回一個URL的主機名和端口 | | [hostname](https://www.runoob.com/jsref/prop-loc-hostname.html) | 返回URL的主機名 | | [href](https://www.runoob.com/jsref/prop-loc-href.html) | 返回完整的URL | | [pathname](https://www.runoob.com/jsref/prop-loc-pathname.html) | 返回的URL路徑名。 | | [port](https://www.runoob.com/jsref/prop-loc-port.html) | 返回一個URL服務器使用的端口號 | | [protocol](https://www.runoob.com/jsref/prop-loc-protocol.html) | 返回一個URL協議 | | [search](https://www.runoob.com/jsref/prop-loc-search.html) | 返回一個URL的查詢部分 | ## Location 對象方法 | 方法 | 說明 | | :-- | :-- | | [assign()](https://www.runoob.com/jsref/met-loc-assign.html) | 載入一個新的文檔 | | [reload()](https://www.runoob.com/jsref/met-loc-reload.html) | 重新載入當前文檔 | | [replace()](https://www.runoob.com/jsref/met-loc-replace.html) | 用新的文檔替換當前文檔 |
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看