Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Create a Safari dictionary button?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create a Safari dictionary button?
Authored by: Tice2 on Jul 22, '03 11:11:22AM

Umh ... could you please post the full code. Is this a button (<input type="button">) or a link, or a JavaScript for the head-section? How to use it?

---
Greetings Tice ; )



[ Reply to This | # ]
Create a Safari dictionary button?
Authored by: franny on Jul 22, '03 11:36:21AM

- Add a new bookmark in Safari. Doesn't matter what page you're on when you do it, because you're going to replace the URL with the javascript code.

- Give it a descriptive name like "dictionary." If you choose to keep it in the Bookmark Bar, it will show up as a one-word link that will act like a button.

- In your bookmarks, edit the link associated with your new bookmark; replace the "http://www...." with the javascript code posted above.

- try it!

Cool hint, thanks for posting.



[ Reply to This | # ]
Create a Safari dictionary button?
Authored by: Han Solo on Jul 22, '03 09:24:15PM
Even easier than the steps above is to highlight the text in Safari (make sure you have all of it!), then click and hold the highlighted text, then drag it to the bookmark bar. Safari will ask you what you want to name it; type in something pithy.

Note: If you copy something with linebreaks (like the code in the original hint), you will manually need to edit out each occurrence of the code '%0A', which represents the linebreaks, before it will work.

Note: These 'bookmarklets' do not have to live on your bookmark bar in Safari (or Mozilla, etc.): they will happily work in a folder, if you so choose.

[ Reply to This | # ]

The Easiest Way
Authored by: discordantus on Jul 23, '03 08:10:03PM
drag this link to your bookmark bar. it should create a nice little "bookmarklet", which will run the script when you click it.

[ Reply to This | # ]