Skip to content
Template to build a bookmarklet that includes jquery
JavaScript CoffeeScript Ruby
Latest commit 0f66a79 Apr 6, 2012 Stanislas Duprey googleit added
Failed to load latest commit information.
.sass-cache googleit added Apr 6, 2012
build wait for images to load in burn Apr 4, 2012
source googleit added Apr 6, 2012
.DS_Store added copy Apr 1, 2012
.gitignore better copy bookmarklet Apr 3, 2012
README.md burn added Apr 4, 2012
config.rb first commit Mar 30, 2012

README.md

This is a template to develop bookmarklet.

This bookmarklet itself include the code to:

  • display and style a loader on the top left of the page
  • load bookmarklet.js

What is bookmarklet.js then doing?

bookmarklet.js includes LAB.js which takes care of loading jQuery and once loaded it builds a lightbox and setting some text inside.

This is a middleman project using coffeescript and scss, but if you'd rather go old school, you'll find all the css and js files generated in the build directory. Your files have to be stored on a server though, because they will be retrieved from the bookmarklet.

Part from the basic bookmarklet, I have added 3 other examples:

  • copy: Select the word/phrase you click on. It also give you the opportunity to google it up.
  • links: Display a list of all the links on the current page
  • burn: A nice little effect. Try it on an evil web site only.
Something went wrong with that request. Please try again.