JavaScript
[JavaScript] 브라우저 뒤로가기 막기
힘없는염소
2018. 7. 12. 10:43
history.pushState(null, null, location.href);window.onpopstate = function(event) {history.go(1);};
참고 : https://developer.mozilla.org/ko/docs/Web/API/History_API
반응형