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 4 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

  1. Download an unofficial Chrome extension that does this for you.
    1. Go to this link: https://github.com/courage/bookmark-shortcuts (Source)
    2. Click 'Clone or download'. 
    3. Click 'Download ZIP'. 
    4. Click on the .zip file when it finishes downloading. 
    5. Click 'Extract all files' in the top-left of the window. 
    6. Click 'Extract' in the bottom-right of the UI that appears. 
    7. Drag the folder to your Desktop. 
  2. Enable the Chrome extension.
    1. In Chrome, click the three-bar icon in the top-right, then click 'Settings'. 
    2. Click 'Extensions' in the left side-bar. 
    3. Click 'Load unpacked extension' in the top-left of the main screen. 
    4. In the modal that appears, navigate to Desktop → bookmark-shortcuts-master → app. 
      1. Explanation: 'app' is the folder that contains the files that Chrome uses as the 'brains' of the extension.
    5. Click 'OK'.
    6. You should see the extension show up in the list of extensions. 
  3. Set
  • No labels