Created
November 23, 2011 22:41
-
-
Save caillou/1390151 to your computer and use it in GitHub Desktop.
Google's clearQuery code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gh.addEventListener("mousedown", function(a) { | |
a.preventDefault(); | |
S.value = ""; | |
S.value = S.value; // hrhrhr... | |
if (T) | |
jh.innerText = T.innerText = ""; // hrhrhr... | |
yg++; | |
vg = ug = 0; | |
S.focus(); // interesting. it really has no effect. | |
zh(); | |
yh() | |
}, m); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment