GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   What is the code that google uses to get the cursor in the text box? (https://gfy.com/showthread.php?t=685529)

uno 12-10-2006 06:18 PM

What is the code that google uses to get the cursor in the text box?
 
Does anyone have either this or similar code?

MonsterPartners 12-10-2006 06:25 PM

Body tag:

Code:

<body onLoad="document.formname.fieldname.focus()">
- change 'formname' to the name of your form (use name="name" and id="name" in your form tag)
- change fieldname to the name you gave the input textfield.

GrouchyAdmin 12-10-2006 06:25 PM

<script defer>
<!--
function sf(){document.f.q.focus();}
window.rwt=function(b,d,f,j,k,g,l){var a=window.encodeURIComponent?encodeURIComponent:esc ape,h="",i="",c=b.href.split("#"),e="";if(d){h="&o i="+a(d)}if(f){i="&cad="+a(f)}if(g){e="&usg="+g}b. href="/url?sa=t"+h+i+"&ct="+a(j)+"&cd="+a(k)+"&url="+a(c[0]).replace(/\+/g,"%2B")+"&ei=L7N8RdfEOaTswQKVkp25Bw"+e+l+(c[1]?"#"+c[1]:"");b.onmousedown="";return true};// -->
</script>

That's it. Enjoy.

uno 12-10-2006 06:28 PM

The first option seems easier. Thanks to both of you!


All times are GMT -7. The time now is 02:30 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123