I spent yesterday creating a bookmarklet that can be used to add metadata to any web domain. I wanted to learn how to create bookmarklets and I want to learn a little about
html5 localStorage so this little one-day project was perfect.
See it in action
Drag the following bookmarklet to you bookmarks and use it whenever you want to save metadata to any web domain you would like. If you don’t like the idea of running a script off someone else’s server, then feel free to download it via github and put it on your server.
Fork it and make it better
The code is on github. There are some things which I would like to see changed/added:
- Load json2, jQuery, and jQuery-ui and theme in a better manner.
- Make it so I don’t need to use intervals to check that the scripts/css were inserted into the dom before using them.
- Allow the bookmarklet to save to a specific URL and not just the domain.
- Allow the bookmarklet to save to a server and not just localStorage (for cross-browser metadata).
Questions? E-mail me: this domain AT gmail DOT com