我們可以使用window.location 類別來取得網址資訊、轉址或重讀等動作。 ... window.location.href 取得目前造訪網頁的網址. window.location.protocol ...
確定! 回上一頁