We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
[CODE]you have visited this page ... times before; a paranoid android code; By vince
Topic Started: Jan 25 2010, 09:18 AM (70 Views)
Reid
Member Avatar
È una trappola!

This topic has been moved from our official support board.

Originally posted by: vince
[CODE
 
you have visited this page ... times before; a paranoid android code]In the head part:

Code:
 

<script language="Javascript"><!--
function getCookieVal (offset) { var endstr = document.cookie.indexOf (";", offset); if (endstr == -1) endstr = document.cookie.length; return unescape(document.cookie.substring(offset, endstr)); } function GetCookie (name) { var arg = name + "="; var alen = arg.length; var clen = document.cookie.length; var i = 0; while (i < clen) { var j = i + alen; if (document.cookie.substring(i, j) == arg) return getCookieVal (j); i = document.cookie.indexOf(" ", i) + 1; if (i == 0) break; } return null; } function SetCookie (name, value) { var argv = SetCookie.arguments; var argc = SetCookie.arguments.length; var expires = (argc > 2) ? argv[2] : null; var path = (argc > 3) ? argv[3] : null; var domain = (argc > 4) ? argv[4] : null; var secure = (argc > 5) ? argv[5] : false; document.cookie = name + "=" + escape (value) + ((expires == null) ? "" : ("; expires=" + expires.toGMTString())) + ((path == null) ? "" : ("; path=" + path)) + ((domain == null) ? "" : ("; domain=" + domain)) + ((secure == true) ? "; secure" : ""); } function DeleteCookie(name) { var exp = new Date(); FixCookieDate (exp); exp.setTime (exp.getTime() - 1); var cval = GetCookie (name); if (cval != null) document.cookie = name + "=" + cval + "; expires=" + exp.toGMTString(); } var expdate = new Date(); var hoevaak_bezocht; expdate.setTime(expdate.getTime() + (5*24*60*60*1000)); if (!(hoevaak_bezocht = GetCookie("hoevaak_bezocht"))) hoevaak_bezocht = 0; hoevaak_bezocht++; SetCookie("hoevaak_bezocht",hoevaak_bezocht,expdate);
// -->
</script>



and this in the body:

Code:
 

<center>
<script language="Javascript"> <!--
document.write("You have visited this page "+hoevaak_bezocht+" times before.");
//--></script>




This script simply does what the thread name says

o, and for those who dont know, i am paranoid android on ifskinzone, so i didnt steal this or anything :)
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Codes & Modifications · Next Topic »
Add Reply