function IncludeScripts()
? '<script src="../js/jquery.min.js"></script>'
? '<script src="../js/jquery-ui.min.js"></script>'
? '<script src="../js/fiveweb.js"></script>'
? '<script src="../js/jquery.maskedinput.js"></script>'
return nil
? '<script>'
? ' history.pushState({ page: 1 }, "title 1", "#nbb");'
? ' window.onhashchange = function (event) {'
? ' window.location.hash = "nbb";'
? ' };'
? '</script>'
? '<script type="text/javascript">'
? ' window.onload = function () { Clear(); }'
? ' function Clear() {'
? ' var historyLength=history.length;'
? ' if (historyLength > 0) history.go(-historyLength); }'
? '</script>'
@ 265, 189 BUTTON "Ok" SIZE 110, 40 OF oDlg ;
ACTION ( "document.location = '" + AppName() + "?login::' + " ) + ;
'oGetName.value + "::" + oGetPass.value'
Jeff Barnes wrote:Another question, do you know if there is anyway I can block the system from allowing the user to go into the "history" and clicking on a previous page from my web app?
I've figured out how to stop the user from using the back button but the history is still accessible.
? '<script>'
? '$.getJSON("http://jsonip.com?callback=?", function (data) {'
? ' var cUserIP = data.ip;'
? ' alert("IP: "+cUserIP);'
? '});'
? '</script>'
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 72 guests