Jim's Personal Toolbar Buttons
This page lists some of the Personal Toolbar Buttons I have been playing
with. They are actually snippets of Javascript which call various
dictionary functions I find useful.
To install any of these:
- under Windows, press your mouse left-button without releasing it on
the hyperlink, drag it and drop it onto the toolbar. (The Links bar in IE.)
- if dragging and dropping the link does not work (e.g. under Linux),
then use your right button on the link to create a new bookmark of
the URL, and place it in your Personal Toolbar Folder. You will probably
have to edit the Bookmark Properties to get a meaningful name.
The Buttons - Dictionary Searching
Note:
the WWWJDIC buttons below all point at the Monash WWWJDIC server. If you
want buttons tailored for the other mirrors, I have a
server
which generates the appropriate buttons.
The following buttons allow for immediate searching for a word in a
dictionary. They can work two ways:
- Clicking on the button will pop up a box in which you can enter the
search key;
- Highlight the word or words on the page you are reading and click the button.
The dictionary lookup or text glossing will proceed with the highlighted word.
-
WWWJD-E
WWWJDIC - Search for an English Word. (Netscape/Mozilla/Galeon - Unix/Linux)
-
WWWJD-E
WWWJDIC - Search for an English Word. (IE5)
-
WWWJD-J
WWWJDIC - Search for a Japanese Word. (Netscape 4 - Windows)
-
WWWJD-J
WWWJDIC - Search for a Japanese Word. (Netscape 4 - Unix/Linux) (Romaji keys too)
-
WWWJD-J
WWWJDIC - Search for a Japanese Word. (IE5) (Romaji keys too)
-
WWWJD-J
WWWJDIC - Search for a Japanese Word. (IE4)
(I'm guessing that IE4 sends Japanese in Shift-JIS; I can't test it.)
-
GOO-E GOO
(EXCEED), using the Sanseido English/Japanese Dictionary. (Netscape/Mozilla/Galeon)
-
GOO-E GOO
(EXCEED), using the Sanseido English/Japanese Dictionary. (IE)
-
GOO-J GOO
(EXCEED), using the Sanseido Japanese/English Dictionary. (Netscape,
Mozilla, Galeon)
(Note that this may only work from browsers running under Unix/Linux.
The GOO site seems to auto-detect the coding.)
-
WWWJD-G
WWWJDIC - Translate Japanese words in text. (Netscape 4 - Linux/Unix)
-
WWWJD-G
WWWJDIC - Translate Japanese words in text. (Netscape 4 - Windows)
-
WWWJD-G
WWWJDIC - Translate Japanese words in text. (IE)
-
Google-J
Google search with Japanese keyword (Netscape 4 under Linux)
-
GoogleJ
Google search with Japanese keyword (Mozilla, Netscape 6+, Galeon)
NB:
the reason for having different buttons for browsers such as Netscape, Mozilla
and IE is that they do not
support the same Javascript features. Also Javascript within Netscape 4 under Unix/Linux
codes Japanese in EUC whereas Javascript within Netscape 4 under Windows codes it in
Shift-JIS. Just to make life difficult, IE5 codes it in Unicode. With
the later family of browsers such as Mozilla and Netscape 6+, the coding
is taken from the current WWW page.
Other Buttons
-
WWWJTransAid
- invokes a side-by-side copy of the
current
page and WWWJDIC, so you can cut-and-paste across.
Tips
-
Frames:
I have had some trouble making these buttons work with text within
frames. I have found the solution is to display the frame in a complete
window (right button option in Netscape.) Then the button seems to work.
-
Japanese coding:
For searching with Japanese keys using WWWJDIC, Google, Goo, etc. I have
found that I must have the browser sitting on a page that contains
Japanese. Otherwise the Javascript won't detect that the key is
Japanese. This especially applies when using a key that has been
cut-and-pasted from another application, such as a kterm window.
Acknowledgements
Thanks to:
- Thierry Bezecourt who gave me the initial idea.
- Google.com, whose search button really got me inspired.
- the
Bookmarklets
page, which gave me the templates for the IE versions.