What does the following script do !
<script language="javascript">
****.sf1.p.focus();
****.sf1.action = "r/sx/*-http://search.yahoo.com/search";
YAHOO.Fp.sFrPrefix = ****.sf1.fr.value;
if(****.sf1.fr.value.indexOf('-t-')<0)
{****.sf1.fr.value = YAHOO.Fp.sFrPrefix+(typeof(ver);}
</script>
Any one explain
-
- Posts: 5
- Joined: Sat Nov 25, 2006 2:56 pm
- Contact:
sf1- is probably name of the some kind of formkarthikeyan wrote:What does the following script do !
<script language="javascript">
****.sf1.p.focus();
****.sf1.action = "r/sx/*-http://search.yahoo.com/search";
YAHOO.Fp.sFrPrefix = ****.sf1.fr.value;
if(****.sf1.fr.value.indexOf('-t-')<0)
{****.sf1.fr.value = YAHOO.Fp.sFrPrefix+(typeof(ver);}
</script>
p- may be some kind of input line or button
fr- maybe another input line of the same form
and this script do following:
place cursor on form "sf1" on element "p"
set form action to another page
if on "fr" element there is text that has part "-t-" and it is in the beginning then "fr" element gets some kind of value (witch i can not understand)
Thanks to Lixas for opening this thread back up so that I could reply.
Well, after doing some searching on the good ol Google...I found this website:
http://translate.google.com/translate?h ... _qdr%3Dall
If you go there and then search for (with Ctrl + F) typeof then you will find this script. Now, I still cannot decipher what this script is for, but I hope that I am giving somebody else a lead to finding out what this script does.
Well, after doing some searching on the good ol Google...I found this website:
http://translate.google.com/translate?h ... _qdr%3Dall
If you go there and then search for (with Ctrl + F) typeof then you will find this script. Now, I still cannot decipher what this script is for, but I hope that I am giving somebody else a lead to finding out what this script does.
script
looks like that script doesnt work..!
.............................:: Spirit of Fire ::..................................