I spend quite a bit of time researching bookmarklets and specific browser plugins in particular chrome plugins. Below my notes on how to get started and what my conclusions where of when to use the different technologies.
You are going to end in the bad link page because my blog is not something valid to process. With that said if you go to amazon.com you will see it process thru.
- Manipulating the dom.
- Adding new elements to a page.
- Cross Browser compatibility.
Below a few links that help. I really recommend using the bookmarlet generator since it trivializes the process of creating a bookmarlet.
The plugins can do all that a bookmarlet can except be cross browser compatible. Additionally to that they provide a few advantages in the case of chrome:
- Access to the chrome api’s – This allows you to store data, set alarms even capture the desktop has an image. Aditionally they include new api’s so if you need any of these capabilities doing a plugin is a great idea. Documentation
- They give you access to the store. Bookmarklet’s need to be discovered via someone hitting your site. The plugins by being on the store you can benefit from someone browsing the new arrivals list.
- You don’t have to click to activate it. Is running on the background so if your experience would benefit from not having a click to start this is the way to go.
In terms of effort required for simple task they are both very straight forward and there is clear documentation on the web.
With that said the not being cross-browser compatible is a really big weakness in terms of maintenance.