This shows you the differences between two versions of the page.
user_vars [2014/01/29 18:05] |
user_vars [2014/01/29 18:05] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== User Vars ====== | ||
+ | |||
+ | Very cool feature to detect checters, For example, 99% of hitbots can not emulate JS so what we have to do is count % of surfers w\o JS. | ||
+ | |||
+ | Include following code into your page: | ||
+ | < | ||
+ | <script language=" | ||
+ | var i,j,key; | ||
+ | i = 0; | ||
+ | j = 1; | ||
+ | for(i=0;i < 20;i++) { | ||
+ | key = j + i + 20; | ||
+ | j = key - 10; | ||
+ | } | ||
+ | document.write("< | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | This code does following: | ||
+ | |||
+ | |||