9 points · by qwestion · 18y ago · 4 comments
Any help?
javascript:location.href='http://del.icio.us/post?v=4;url='+encodeURIComponent(location.href)+';title='+encodeURIComponent(document.title.replace(/%5E%5Cs*%7C%5Cs*$/g,''))
Basically, it redirects the browser to http://del.icio.us/post?v=4 and passes two parameters to the URL: "url" and "title" which just contains the url and the website title of the previous website you were on.http://en.wikipedia.org/wiki/Bookmarklet
The basic idea is that you create a link on your page that points to a "javascript:" URL. This link can become a bookmark just like any other link. The javascript in the link's URL implements your bookmarklet functionality.