Hebrew ToolTip Translation

By Eyal Soha Last update Oct 31, 2010 — Installed 4,250 times.


Script Summary: Translate words on a webpage from Hebrew to English and vice-versa in little tooltips

New! Hebrew ToolTip Translation for Google Chrome!

This script aids in translating from Hebrew to English and vice-versa. Simply allow the mouse to hover over any word on a webpage and wait one second.

If it doesn't work for you on some webpage, write a comment and I'll check it out.

If you want to modify the appearance, you can use Stylish. After installing Stylish, write a new style and use the following template:


.HTT {
border-spacing: 0 !important;
border:0 !important;
padding:0 !important;
}
.HTTHebrew {
direction:rtl !important;
text-align:right !important;
font-family:David !important;
}
.HTTEnglish {
direction:ltr !important;
text-align:left !important;
font-family:Arial !important;
}
.HTTWord {
font-size:11pt !important;
color:#000099 !important;
}
.HTTPartOfSpeech {
font-size:7pt !important;
color:black !important;
font-family:Arial !important;
}
.HTTDefinition {
font-size:11pt !important;
color:#000099 !important;
}
.HTTtooltip {
border: 1px solid black !important;
position: absolute !important;
background-color: lightyellow !important;
}

This will let you change the colors, fonts, sizes, padding, etc. Read about CSS and Stylish for more information.

Release log:

2009-05-19 Configurable: Location relative to the pointer and whether or not to stay on screen

2009-05-27: Now it works on Facebook, too. The style was wrong and the text-alignment needed to be specified.

2009-07-02: Now you can select text with the mouse, click on it, or press a keyboard button to launch the translation. The keyboard button is configurable and the delay for the lookup after hovering is, too.

2009-08-02: Morfix changed the format of their page so I rewrote the parser. I'm also using CSS much better now, good for users of Stylish.