브라우저의 현재 웹 페이지 URL을 얻으려면 window.location.href
를 가져와야 합니다. 재산.
브라우저 콘솔에 다음 코드를 입력하고 Enter 키를 누르십시오.
var currentURL = window.location.href;
currentURL();

브라우저의 현재 웹 페이지 URL을 얻으려면 window.location.href
를 가져와야 합니다. 재산.
브라우저 콘솔에 다음 코드를 입력하고 Enter 키를 누르십시오.
var currentURL = window.location.href;
currentURL();