프레임셋 안에서 주소창 주소변경하기
<script>top.history.pushState(null, null, location.href);</script>
window.top. 혹은 top. 은 프레임 안에서일 경우입니다. 일반적인 경우는
history.pushState()로 하시면 됩니다.
function changeUrl(title, url, state) {
[출처] [JavaScript] 주소창의 url 변경 방법|작성자 노력쟁이 학제
참고
댓글 0
댓글을 작성하려면 로그인이 필요합니다.
아직 댓글이 없어요
이 글에 대한 생각을 가장 먼저 남겨보세요.