HTML Editor
<!DOCTYPE html> <html lang="en-US"> <body> <div id="point"></div> <script> var x = document.getElementById("point"); function UserVisit(){ if(typeof(Storage) !== "undefined"){ if(sessionStorage.visitCount) sessionStorage.visitCount = Number(sessionStorage.visitCount)+1; else sessionStorage.visitCount = 1; x.innerHTML = "You have visited this page " + sessionStorage.visitCount + " time(s) in this Session."; } else{ x.innerHTML = "Sorry, your browser does not support web storage..."; } } UserVisit(); </script> <p><strong>Note:</strong> Refresh this page or click Run again to see your visited times.</p> <hr> <p>Follow the instructions to see the data stored in your PC</p> <p>Press F12 to Open chrome <strong>developer tool</strong>.</p> <p>Click on Application Tab in top Horizontal Bar(click double arrow, if not visible).</p> <p>Point your focus in storage section in left side panel</p> <p>Click on the arrow in the left side of Session Storage Tab</p> <p>click on https://wikimass.com. <strong>Done !!!</p></p> </body> </html>
OUTPUT
×

Save as Private