Show DevBest Simple html page visit counter

Status
Not open for further replies.

habbz

Custom Title bitchssssssss
Nov 12, 2010
227
1
This is for like seeing how many times you visited a page, i thought some one might fined this useful for something:
Code:
<!DOCTYPE HTML>
<html>
<body>

<script type="text/javascript">

if (localStorage.pagecount)
    {
    localStorage.pagecount=Number(localStorage.pagecount) +1;
    }
else
    {
    localStorage.pagecount=1;
    }
document.write("visited: " + localStorage.pagecount + " time(s).");

</script>
just but that on your site and and its as easy as that!
 
Status
Not open for further replies.

Users who are viewing this thread

Top