Page 1 of 1
					
				Any one explain
				Posted: Wed Dec 27, 2006 9:26 pm
				by karthikeyan
				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>
 
			 
			
					
				
				Posted: Thu Dec 28, 2006 12:54 am
				by Jayke
				Nothing as the sf1 and the fr is not declared. What is the t? None of the varabiles you used are declared, so the script does nothing.
			 
			
					
				
				Posted: Sun Jan 21, 2007 9:23 am
				by raina
				script doesnt work....
			 
			
					
				
				Posted: Thu Jan 25, 2007 7:08 pm
				by Lixas
				karthikeyan 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>
 
sf1- is probably name of the some kind of form
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)
 
			 
			
					
				
				Posted: Thu Sep 13, 2007 3:37 pm
				by Gyanu
				there is an error so it does nothng.
			 
			
					
				
				Posted: Mon Sep 24, 2007 10:18 pm
				by Flipper3
				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. 

 
			 
			
					
				script
				Posted: Thu Oct 18, 2007 1:39 pm
				by Gebbo
				looks like that script doesnt work..!
			 
			
					
				Anyone
				Posted: Sun Dec 30, 2007 9:02 pm
				by Gebbo
				hmm.. i dont understand anything that script says O_O