If you use Delicious with the Opera browser like I do, you might have found yourself frustrated because the official Delicious bookmarklet just shows up as a blank icon when dragged to the Opera toolbar. I was, too, so I decided to tweak it for my own purposes.
If you just want the fixed-up bookmarklet…
I reused the Opera icon used to bring up the Bookmarks menus. You can simply hold down shift, then drag and drop this button to your toolbar:
You'll end up with something like this:
If you're curious about how it works, or want to change the icon…
Opera lets you make custom buttons rather easily, though not many people are writing about this ability any more. Back in the day, though, there were whole sites to help you make your own custom buttons.
That site documents the format for these buttons:
ButtonX, "General Title"="Action, parameter1, parameter2, Action Title, Icon"
Now, the Opera toolbar configuration is kept in the standard_toolbar.ini file, which, at least on recent versions of Windows, will be somewhere in the following directory (adjusted for user name and drive letter):
C:\Users\Arcadiy\AppData\Roaming\Opera\Opera\toolbar
If you add the Delicious bookmarklet from the official page, you'll find that it gets added with the action shown here:
If you compare that to the format above, you have the button name, the title and action, and then the arguments to that action. What you don't have are the Action Title or the Icon. So, all you have to do is add them, separated by commas, to the end of the line and hit save. (Note that you should keep Opera closed when you're editing this file.)
In my case, the name of the icon I used is "Panel Bookmarks." You might be asking yourself, how do you find the names of other icons you can use? Well, there's an old page for that, too: it will load images from your current Opera skin and show you what you'll get for each image name. It's possible that this doesn't show all possible icons, since it's a bit outdated, but it's reasonably comprehensive.
Pick an icon you like, and voila: a version of the Delicious bookmarklet that isn't hideously broken in Opera.