Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Web
Expertise: Advanced
May 3, 1999

Add Tiny Scripts to Your Favorites With Bookmarklets

Did you know that you could write pure JavaScript in the address bar of Internet Explorer or Netscape? You can also write pure JavaScript in the Start/Run dialog in Windows. Try typing this code into either the address bar or the Start/Run dialog:
 
Javascript:alert("hello world!");
With a limit of 255 characters, this feature enables a user/developer to write tiny programs. It is then possible to add this JavaScript code to your favorites or bookmarks, hence the name bookmarklets. Theoretically, this should also work for VBScript if you have IE, but I find JavaScript more reliable. For more information, visit:
http://www.bookmarklets.com
William Wen
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date