This should make people's lives a little bit easier. Follow these simple steps:
- Edit
js/bookmarklet.js
so that it does something cool inaddBookmarklet()
and cleans up after itself inremoveBookmarklet()
. - Edit
test.html
so that it contains stuff your bookmarklet cares about. - Open up
test.html
in a web browser and make sure it works. - Re-build the minified version with
make clean all
. - Open up
index.html
in a web browser, and drag the big bookmarklet link into your browser's bookmarks bar. - Visit another page on the web, then click on your link in the bookmarks bar.