Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

 

 

 

How to create a 'Hello World' bookmarklet in Chrome

  1. In Chrome, click the three-bar icon in the top right, then 'Bookmarks', then 'Bookmark manager'. 
  2. Right-click the 'Bookmarks bar' folder and select 'Add page'. 
  3. For the 'Name', put 'Hello World!', and for the URL paste in the code below. 
    1. javascript: alert('Hello World!');
  4. To test the bookmarklet, open a new tab and click the new bookmark. 

 

 

 

How to launch a bookmark in Chrome with a keyboard shortcut

  • No labels