Ubiquity for Opera
Wednesday, 4. February 2009, 12:56:46
I think Ubiquity is a pretty cool project, probably a bit overrated, but ...
I thought it would be nice to try to build something like that for Opera, and learning UserJS along the way.
I managed to get the basics working. Right now, there's only one command, tran-no which takes you to the Google Translate page from Norwegian to English. If you have selected some text before bringing up "Ubiquity" (CTRL + SPACE), then typing tran-no + ENTER will translate that text for you.
Now I was trying to make it replace the text inline inside the page, instead of popping up a new tab with the Google Translate window. It seems that is somewhat harder, especially because the text you select might be broken up in several pieces, like:
This might be <b>your text</b>, so how do you replace it?
Here it is: ubiquity.js



Robert Jacobsen # 6. February 2009, 10:01
Espen André Øverdahl # 6. February 2009, 11:28
Aleksander # 6. February 2009, 11:30
Steve Davis # 6. February 2009, 11:55
Lawrence Eng # 6. February 2009, 19:14
Martin # 7. February 2009, 23:33
Cosimo Streppone # 8. February 2009, 20:33
Cosimo Streppone # 8. February 2009, 20:57
weathercommand!But before uploading a new version, it needs a working help screen... :-)
rick schoen # 6. June 2009, 15:16
at least I know who to bother if I have questions here..hoping you add me as a friend
my page will be light hearted although I do have many interests other than what I've posted to this point in time
I love science and learning everyday but I sure don't have your computer knowledge..I'm very respectful and impressed!
kudos man and keep on keeping on
Cosmo