Cameras | Reviews | Prices | Tech Update | News | Handhelds | Desktops | Notebooks | Downloads | Developer
Developer
Ban Outlook?
 
Find Tech Jobs
 
Enterprise Applications

 
ZDNet > Developer > JavaScript > What are Bookmarklets?
 

 
Click Here for Dell!
 

 
Search For:            • Search Tips
• Power Search
 
 
Developer Home
 
Pick a Topic:
 
Coding
HTML
CSS/Fonts
JavaScript
DHTML
XML
CGI/Perl/TCL
ASP
ActiveX
Java
 
Design
Usability
Accessibility
Graphics
Multimedia
Standards
 
Backend
Management
Networking
Security
Databases
Servers
Community
Web Hosting
 
Resources
ScriptLibrary
Tag Library
Free Downloads
Dev Forums
Look up a Domain
Free Web Tools
GIFBot
SmartPlanet
Get Our Newsletter
 
 


 
JavaScript
clear
ScriptHead:
Bookmarklets Mon Amour

What are Bookmarklets?
clear
 
Developer Rick Scott A bookmarklet is a short script that is saved as a bookmark. (You'll find out how on the next page.) To run the script, you simply select the bookmark. Sound simple? It is. But very powerful!

I've admired bookmarklets from afar for quite a while now and am delighted to have obtained permission from Steve Kangas, the Grand Poobah of Bookmarklets, to draw upon the discoveries presented in his most excellent site, Bookmarklets.com. Many thanks, Steve. The Web needs more people with your openness toward information sharing!

Here's a nifty little bookmarklet to whet your appetite:

1. First, you must create the bookmarklet on your local browser. To do so, drag this link – Define – to your Personal toolbar (Netscape) or Link toolbar (IE). Or, right-click on the Define link and select Add Bookmark (Netscape) or Add to Favorites (IE) to add the bookmarklet to your Bookmarks/Favorites menu.

2. Now, suppose you ran into the word eldritch in an online article on ancient Halloween rituals and wanted to look up its definition. You could take the time and trouble to open a new browser window, navigate to an online dictionary site, and submit the word — struggling to remember the correct spelling (eldridge? eldrich?) — to the dictionary's search engine. Or, you could turn to your handy Define bookmarklet:

  • Use your mouse to select (highlight) the word eldritch. (No leading/trailing spaces or punctuation marks, please!)

  • Run your Define bookmarklet, by clicking on it in your Personal/Favorites toolbar or selecting it from your Bookmarks/Favorites menu.

  • Et voilà: The definition of eldritch in all its hideous, ghastly glory!

Kewl, yes? And even kewler, you can easily create similar bookmarklets to submit selected words to search engines of your choice: Technical encyclopedias, all-purpose search engines (such as Yahoo! and AltaVista), thesauruses, repositories of current events, etc.

Wanna see more bookmarklets, find out how they work, and learn how to create them yourself? Read on, read on ...

<<< Previous Next >>>
Bookmarklets Mon Amour Bookmarklets Primer


 
<contents>
  Introduction
 
What are Bookmarklets?
 
  Bookmarklets Primer
 
  Bookmarklet Gallery
 
  Gallery Part 2
 
  Rolling Your Own Bookmarklets
 
  PostScriptum
 
E-mail this story!
Printer Friendly
 
<news>
•  Americans want more online rules
•  Time for more Net rules?
•  Music industry heeds lessons of Napster
•  Webvan bags it for good
•  More Net News
 
<reviews>
• 
 
• 
 
• 
 
• 
 
• 
 
 
<downloads>
• 
 
• 
 
• 
 
• 
 
• 
 
 
<resources>
• 
 
• 
 
• 
 
• 
 
 



 Sponsored Links
DuoConnect  USB 2.0 and FireWire/1394 combo card for PCs and Macs.
GET HP  SAVE - Latest price drops and deals at hpshopping.com!
Get Smart  University of Maryland University College- study online
GoDaddy  It's True! Domain Names and Transfers $8.95/yr & lower.
Books  Free Shipping at Barnes & Noble.com!
Click here  Join the Intel Itanium Solutions Webcast now!
 
 Everything Intel    Find Out More
Shop Now!   Shop at Dell's Home Solution Center - Dell Small Business Center
Shop Now!   Gateway Home Computing Center - TOSHIBA
Shop Now!   Gateway Business Center
 
 Featured Links
Best Buys  Shop Smart for scanners, digital cameras, monitors & more!
FREE $5  Buy it New or Used at eBay's Half.com.
FREE!  Tech Advice and 100's of Downloads for IT Pros!
 
 Magazine Offers
CLICK HERE  Get 2 FREE CDs - TRY COMPUTER SHOPPER FREE($3.99 value)
 

Tech Jobs |  Price Guarantee |  Tech InfoBase |  Newsletters |  SiteBuilder
IT Solutions |  Security |  Classes |  Downloads |  Members |  Web Services
CNET Networks: CNET | GameSpot | mySimon | TechRepublic | ZDNet         About ZDNet 
  Feedback | Your Privacy | Service Terms | Advertise | ZDNet Jobs
Copyright © 2001 ZD Inc. ZDNet is a registered service mark of ZD Inc. ZDNet Logo is a service mark of ZD Inc.