Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Bookmark Tips

Bookmark tips

Bookmark Tips

by  mithrilhall  Posted    (Edited  )
These tips were posted by Xutopia.

In your favorites add these links (edit the properties of an existing link is easiest):

1. to resize your window

javascript:var%20vals=prompt("enter the heigh and width you want seperated by a coma","800,600").split(",");self.resizeTo(vals[0],vals[1]);

2. to lookup a word in the dictionary

javascript:location.href="http://www.m-w.com/cgi-bin/dictionary?book=Dictionary&va=" + escape(prompt("enter the word you want",""))

or

javascript:location.href="http://www.dictionary.com/search?q="+escape(prompt("type the word you wish to look up.",""))

3. for a google search :

javascript:location.href="http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q="+escape(prompt("enter the word you want",""))+"&btnG=Google+Search"

4. to debug your page :

javascript:eval(prompt("enter the javascript code you want to execute :",""))

possible usage for 4. are :

alert(typeof functionOrVariableName)
functionName()
alert(variableName)

I hope this helps.

Gary www.xutopia.com Haran


I added one more tip to Xutopia's list.


5. To look up a word in a Thesaurus add the following:


javascript:location.href="http://www.m-w.com/cgi-bin/thesaurus?book=Thesaurus&va=" + escape(prompt("enter the word you want",""))


New Link added:

This seems to be a pretty good acronym lookup.

javascript:location.href="http://www.acronymfinder.com/af-query.asp?String=exact&Acronym=" + escape(prompt("Enter the acronym to look up.",""))
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top