Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 650 Bytes

README.md

File metadata and controls

11 lines (9 loc) · 650 Bytes

bookmarklet-boilerplate

This should make people's lives a little bit easier. Follow these simple steps:

  1. Edit js/bookmarklet.js so that it does something cool in addBookmarklet() and cleans up after itself in removeBookmarklet().
  2. Edit test.html so that it contains stuff your bookmarklet cares about.
  3. Open up test.html in a web browser and make sure it works.
  4. Re-build the minified version with make clean all.
  5. Open up index.html in a web browser, and drag the big bookmarklet link into your browser's bookmarks bar.
  6. Visit another page on the web, then click on your link in the bookmarks bar.