So i say if u type help anywhere in the page , You will be taken to the help section....so this is known to me only ...however when users will go through it they will be knowing it afterwards. so obviously this is something hidden and about which there is not any message or say informatiion.
Now use this code (You are taken to google help section after typing the word "help", so this is an easter egg of this webpage.) in understanding this term......here goes the code!
http://www.w3.org/TR/html4/loose.dtd">
var accumulator = new Array();
var match_it = new Array();match_it[0]= 72;
match_it[1] = 69;
match_it[2] = 76;
match_it[3]= 80;
var index = 0;
var started = 0;
window.onkeyup = keyup;
function clearString()
{index = 0;}
function keyUp(e)
{var mykeycode = e.keyCode;
var temp = parseInt(mykeycode);
accumulator[index] = temp;
index++;
if(index==4)
{
var matched = 0;
for(i=0;i<=3;i++)
{ if(accumulator[i]==match_it[i])
{
matched++; } } }
if(matched==4)
{ alert("you typed help");
window.location = "http://www.google.co.in/help" }
if(started==0)
{ var t = setInterval("clearString()",2500); started = 1; }
}
body onkeyup="javascript:keyUp(event);">
press and hold any key, then release it to fire the keyup event
No comments:
Post a Comment