Back Button Detection $(document).ready(function() { // JavaScript code embedded within PHP
php // Your PHP logic here ?> // Rest of the JavaScript code if (window.history && window.history.pushState) { $(window).on('popstate', function() { var hashLocation = location.hash; var hashSplit = hashLocation.split("#!
/"); var hashName = hashSplit[...
#
html
#
뒤로가기
#
뒤로가기버튼
원문 링크 : 뒤로가기 버튼 클릭하면 원하는 주소로 이동하기