diff --git a/view/public/js/route/orderpay.step2.pgkcp.php b/view/public/js/route/orderpay.step2.pgkcp.php new file mode 100644 index 0000000..1e4c0eb --- /dev/null +++ b/view/public/js/route/orderpay.step2.pgkcp.php @@ -0,0 +1,20 @@ +function goResult() { + document.pay_info.submit() +} + +// 결제 중 새로고침 방지 샘플 스크립트 (중복결제 방지) +function noRefresh() { + /* CTRL + N키 막음. */ + if ((event.keyCode == 78) && (event.ctrlKey == true)) { + event.keyCode = 0; + return false; + } + + /* F5 번키 막음. */ + if(event.keyCode == 116) { + event.keyCode = 0; + return false; + } +} + +document.onkeydown = noRefresh;