spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / javascript / column35


The Bookmarklet Builder

Developer News
ActiveState Debuts Open Source Business Suite
Salesforce Offers Visual App Builder
Codesion Steps Out From CVS's Shadow

Writing a bookmarklet is a bit frustrating. First, you need to create a temporary page with the desired javascript: link, so you can create a bookmark for that link. Furthermore, you can only use one type of quotes, due to quote alternation.

In order to make the process easier, we created a handy utility that assists you in the process of creating bookmarklets. We won't discuss the script that powers the Bookmarklet Builder, because it's beyond the scope of this column. We'll just show you how to take advantage of it. Before we start, load the Bookmarklet Builder. We suggest that you create a bookmarklet for the Bookmarklet Builder, by making a bookmark for the preceding link.

Now take a look at the Bookmarklet Builder. Enter the desired one-line javascript: URL in the first field, and the name of the bookmarklet in the second one. Then hit the Update button and notice the new link. Simply create a bookmark out of that link, and your bookmarklet is ready. Note that you will need a fourth generation browser for the Bookmarklet Builder, because it utilizes Dynamic HTML.

We created the Bookmarklet Builder in a special way that enables you to use both single and double quotes freely, as you would in any normal script. You don't need to worry about the quotes in the link's HREF attribute.

http://www.internet.com

Produced by Yehuda Shiran and Tomer Shiran


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers

webref The latest from WebReference.com Browse >
Use Web Caching to Make Your Web Site Faster · Creating an Online Shopping Cart Mechanism in PHP · Log JavaScript Errors Using an AJAX-driven Web Service
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Configuring Granular Settings for a Database Level Audit · The Perils of a Web 2.0 Transition on Your Business Processes · Facebook Redesigns Site —Again — Nears 400M Mark


Created: February 1, 1999
Revised: February 1, 1999

URL: http://www.webreference.com/js/column35/automatic.html