Re: first time galeon user
Topher <[email protected]>
| Newsgroups | gmane.comp.web.galeon.devel |
|---|---|
| Message-ID | <[email protected]> |
> 2. one nice feature of opera is that you can highlight text (a word, a
> paragraph) and send it to a dictionary, thesaurus, translate between any
> number of languages and do a websearch with the search engine of your
> choice.
You can fake this in Galeon. If you make a bookmark, and set this as the
URL:
javascript:if(frames.length>0){F=' (Open frame in new window first.)'}else{F=''}Q=document.getSelection();if(!Q){void(Q=prompt('No text selected on page.'+F+'\n\nKeywords...?',''))};if(Q)location.href='http://www.m-w.com/cgi-bin/dictionary?va='+escape(Q)
Then you can highlight a word, choose that bookmark, and it'll look it up
on m-w for you. If you want that bookmark really handy, you can either
make it part of a button bar, or put it in your right click context menu.
Here's another example that will let you select a Bible verse and it'll
look it up:
javascript:if(frames.length>0){F=' (Open frame in new window first.)'}else{F=''}Q=document.getSelection();if(!Q){void(Q=prompt('No text selected on page.'+F+'\n\nKeywords...?',''))};if(Q)location.href='http://bible.gospelcom.net/cgi-bin/bible?version=NIV&SearchType=AND&passage='+escape(Q)
You can see that the only difference is the URL at the end of the script.
Change that, and you can make your own bookmarks to send your highlighted
text anywhere you want.
Topher
Manager of Internet Services
Cornerstone Broadcasting
Cornerstone University
------
You know, Hobbes, some days even my rocketship underpants don't help.
-Calvin
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf