Multi-Lang Lookup Bar
Last update on Jun 18, 2008
Translate and search words. Version:3.0.0Final
WARNING:It is firefox 3 only.
Usage:
>> more here
Other related stuffs:
Screenshots:


Usage:
- Press "F4" to trigger(show/hide) the BAR.
- Submit query by double-click or single-click(drag and release) on words when the bar is shown.
- Drag and drop the ↑ symbol to adjust the height of bar.
- Click language name to show the language list, if any.
- Install the scripts you need.
Built-in: babylon.com,translate.google.com
>> more here
Other related stuffs:
- Double Middle-Click Trigger:Firefox cannot auto-install the script from Box.net. You need download it, then manually drag and drop the script into the window of firefox.
- Mouse Gesture Trigger(require
FireGestures):Click "Add script" button in FireGestures Options, then paste the code below into Script textarea, then create your mouse gesture.
with(content.document.evaluate("/html/iframe[@id='multilanglookupbar']",
content.document, null,9, null).singleNodeValue.style)
display = (display=="block"?"none":"block");
Screenshots:


You could comment on this script if you were logged in.
52 comments
You could comment on this script if you were logged in.

login to vote
Wow wonderfull! Thanks.
Please add Babylon from English to Persian and Persian to English.
Thanks. ;)
login to vote
好. 我帮你测试
login to vote
dictionary.com已经加上去了, 时间仓促, 有些东西没有实现。 你先试试吧。
login to vote
dictornary.com 只支持英英查词. 但它的确是一个很好的字典.
login to vote
dict.cn已更新。
login to vote
Hi wushi, thanks for the information, particularly on question III. That is disappointing, cause Multitran is best dictionary for RU language. It has most of the words and forum... Too bad they don't go with time and make page in the Unicode :(
I anyway in most cases need "into RU" translation, so it is not so important to me that the other way it won't work right now... Thanks again!!
login to vote
hi vitaly. About your first question, you may set iframe style with "display:block" in settings to make this Bar remains visible. But it isn't work now, that's a bug. I will fix it in next version.
About second question, this Bar can't auto open in a domain. I suggest you to setup Mouse Gesture Trigger which make the Bar to be triggered more convenient.
About third question, that's because selected text to be converted into utf-8 character, and multitran.ru need windows-1251 character, so you can't get correct result. And Javascript don't have the ability to convert utf-8 character to windows-1251. I suggest you select a unicode-based site.
login to vote
wushi, must ask: If I translate foreign word into RU, it just works fine with the Multitran addon. But if I enter RU word to translate into another language, the translation does not work and only shows strange things.
This is due to Unicode? On webpage itself it works...
Add: OK, it works if I manuelly set the codepage in Firefox to Cyrillic. If is in Unicode, it has the above effect...
login to vote
wushi777, WOW GREAT!!! So happy that you added the multitran so quickly. And after some testing it seems to work just great, following your instruction. Thank you so much for your efforts!! :)
May I ask you... Is it possible that the Bar remains visible, even if navigating away from currently viewed webpage? (closing only by pressing F4 again). Or if this is not possible, that it automatically re-opens on each page within a domain, as specified in "Included pages" in Greasemonkey options?
login to vote
hi vitaly, Because http://multitran.ru/ isn't a unicode-based site, So I put it into a iframe. You need download both multi-lang lookup bar 3.0.1Beta1 and multitran.ru from multilanglookupbar->setting->Box.net, then drag and drop them into firefox's window.
And I suggest you to setup Stylish. Then write the following code in it for helping you filter some content.
@namespace url(http://www.w3.org/1999/xhtml);@-moz-document url-prefix(http://multitran.ru/c/m.exe) {
.topnavy, .b10,.topmenu,#translation {display:none}
}
login to vote
It is very nice script!!! How about adding the support for http://multitran.ru/ ?
en<->ru
de<->ru
fr<->ru
... It would be great, cause it is very good dictionary.
login to vote
这个dictionary.com我看没有让我可以选择返回语言种类的地方呀,好像是所有解释都在一个页面里了, 就像是answer.com的解释一样。 如果你知道怎么让页面返回某个固定语言的解释,请告诉我。
另外,这个脚本在不同的字典间切换, 会自动查找上一个单词,这样只要网速快,也可以查看不同语言的解释。
login to vote
希望你可以添加dictionary.com的字典. 并且可以实现支持N种语言. 例如我可以选择字典同时返回的是英文和中文的解释.
login to vote
Wonderful !!
Thank you very much
login to vote
Update to version 3.0.0Beta4:
1. Removed bottom bar trigger;
2. Update Double Middle-Click Trigger;
3. Update iciba.com dictionary;
4. Introduce mouse gesture trigger;
login to vote
But ottom bar is not nice & useful
Can you remove the bottom bar ?
Best regards
login to vote
If you need middle-click trigger, you can download it from the following link.
http://www.box.net/shared/j643zzokkw
Firefox can not auto-install the script from Box.net. So you need download it into disk, then manually drag and drop it into the window of firefox.
login to vote
Thanx for working
login to vote
This version is for test. If you really need middle-click trigger, I can take it back.
login to vote
Oh shit,
Removed middle-click trigger is not useful
login to vote
Update to version 3.0.0Beta3:
1.It is Firefox 3 only;
2.Updated some dictionaries;
3.Added new trigger way;
4.Removed middle-click trigger.
login to vote
很不错的东东啊! 支持国产!
login to vote
I have put the beta version into Box.net. You may download them from "BAR->settings->Box.net->Multi-lang lookup Bar 3.0.0Beta2", or http://www.box.net/shared/ba68knpelo
Note:I added new trigger way instead of the middle-click trigger.
login to vote
Nice script but not working in firefox 3 beta 5 :(
Can you fix it ?
login to vote
For dangerboy:
FF 3目前是测试版,存在各种兼容性问题是正常的情况。 我还没有移到ff 3中,所以没有办法做调试。你试试在settings->iframe style里写入right:0,看看能不能修正一下。