Thursday, 15. March 2007, 10:43:28
[UserJS] Orangoo Spell Check v3
I am the author of Orangoo Spell and I have great news for youI have hacked a new version of Opera Orangoo spell check, that enables spell checking in Opera.
My version is a lot faster than older versions since:
* Almost everything is stored locally
* Ajax is used to send and receive data
There is still support for 27 languages.
Read more and download the script from:
http://amix.dk/blog/viewEntry/19114
If you like my hack, consider digg'ing it:
http://digg.com/software/Spell_check_for_Opera
A thanks goes out to Sombria and d.i.z for their initial versions.
Thursday, 15. March 2007, 10:56:30 (edited)
Thursday, 15. March 2007, 14:43:34
Some thoughts:
- keyboard shortcuts missing
- div should have same padding applied as textarea to minimize differences in text breaking (not entirely possible because of scrolling space but...)
- changing language should be possible in spell checking mode too
- unnecessary code could be removed (like sniffing etc)
- more testing when I get home
Thursday, 15. March 2007, 23:19:22
You almost feel the urge to type endlessly just in order to try the script
Much faster than previous versions.
Friday, 16. March 2007, 04:53:04
I just hope amix3k allows me to throw this on my site like d.i.z. did with version 2. If not, then I'll have to take my page down.
BTW: The script is extremely efficient. Very nice work.
Friday, 16. March 2007, 04:57:18
Thank you -- nice script indeed.
It comes in very handy, speed is always welcomed, seems to be a good alternative to old 'right click > Check spelling' of Opera browser.
Works fine with Opera forums.
Orangoo Spell Check v3 has issues on ZoneAlarm user forums though, i.e. spellcheck works but it seems there's no way back to resume editing there. You might have a look into it the other day.
Originally posted by d.i.z.:
- unnecessary code could be removed (like sniffing etc)
Agreed, ...
Friday, 16. March 2007, 06:52:51
Originally posted by d.i.z.:
...
- changing language should be possible in spell checking mode too
...
Are you talking about this:
Screenshot
Friday, 16. March 2007, 13:33:21
Friday, 16. March 2007, 15:39:06
If Aspell is already present in PC wouldn't that be even faster? (instead of using Orangoo)
Just a though (I like though the script interface much better than Aspell).
P.S Now that I was writing this, I found a nice addition on the script would be to automatically fix all occurrences of the same mistake.
Friday, 16. March 2007, 20:56:41
Originally posted by kesisoglou:
I haven't study the script, but is it possible to tie the script with let's say Aspell?
I believe this new version 3 script is using Aspell.
Saturday, 17. March 2007, 05:27:42
Originally posted by drlaunch:
I doubt that. It's faster because most of it is stored offline. But I think the spell checker still is Orangoo.
It's broken in the latest weekly.
Is that why it stopped working. I just thought the service was down again.
Saturday, 17. March 2007, 15:07:52
Originally posted by amix3k:
I don't really plan to spend more time on this script
I was afraid of that.
I'm not sure anyone will pick up this version and improve. I'm not going to do this because it would need some serious rewrite of the code (to make script a lot smaller).
But Sombria is doing yet another version (already in beta) which can use GMail spellchecker. I'm sure she will announce it when it's ready.
Saturday, 17. March 2007, 22:48:31
My guess is that you just have to point the script to another location right?
GMail spellchecker is very fast!
Saturday, 17. March 2007, 23:25:23
Sunday, 18. March 2007, 08:55:07
Originally posted by fearphage:
Is there a reason to fix/update this if Sombria's version will obsolete it? Is there a proposed date on Sombria's version? I was already working on stripping down this one and I could or wouldn't mind adding d.i.z.'s improvements.
I am going to wait for Sombria's version. No point of having 10 people working on the same project.
It's better to incrementally add our ideas instead of producing 10 different versions of the same code.
The script is already good as it is, never seen it having problems. We are talking of improving even more but as it stands, it's already beyond basic functionality, it's a mature script.
Sunday, 18. March 2007, 10:19:35
You could do following:
* Install Aspell
* Install Python
* Install Nox Spell Server (which is Orangoo's Aspell proxy)
You launch Nox Spell Server, and alter line 2527 in orangoo_opera_v3.js to:
this.googie = new GoogieSpell("http://www.daimi.au.dk/~amix/googiespell/", "http://localhost:14003/?lang=");
BAM you got even faster _local_ spell checker.
d.i.z:
You would have to do very little code modification to use GMail's spell checker. But anyway, I am looking forward to her new version. Sorry to not be able to support this script - I simply have too many ongoing projects.
You and Sombria are welcome to use any of my code.
Sunday, 18. March 2007, 17:35:21
Originally posted by d.i.z.:
I'll wait then.Sombria is working very fast so in a few days
One thing I've noticed that is more a pet peeve than anything and happens in most if not all of these spelling scripts (and more) is the way things are quoted in objects. For example:
var a = {'foo': 'bar'} is functionally the same as var a = {foo: 'bar'}The only reason to use quotes around the name is if the name starts with a number, is a reserved word, or has abnormal characters in it. Examples below:var obj = {a: 0, b: 1, 'a-b': 2, a_b: 3, 'a+b': 4, 'var': 5, '0': 6}
Just a friendly tip to all.
Originally posted by amix3k:
Thanks a lot amix3k[d.i.z.] and Sombria are welcome to use any of my code
I like Sombria's version since it doesn't rely on external scripts/hacks... and because the thought of girls coding is hot
Sunday, 18. March 2007, 18:46:19
Originally posted by kesisoglou:
...
The script is already good as it is, never seen it having problems. We are talking of improving even more but as it stands, it's already beyond basic functionality, it's a mature script.
Well, it's not working on any of my machines, as I've updated to the latest weekly build of Opera. Assuming this is a bug in the script, that's the only thing that I would want changed.
Originally posted by d.i.z.:
Sombria is working very fast so in a few days I guess
Sweet... She's amazing...
Originally posted by fearphage:
I like Sombria's version since it doesn't rely on external scripts/hacks... and because the thought of girls coding is hot
Yea, I agree with you there. I wish I could find a girl around here who knew how to code...
Sunday, 18. March 2007, 23:02:08
Originally posted by GT500:
Originally posted by kesisoglou:
...
The script is already good as it is, never seen it having problems. We are talking of improving even more but as it stands, it's already beyond basic functionality, it's a mature script.
Well, it's not working on any of my machines, as I've updated to the latest weekly build of Opera. Assuming this is a bug in the script, that's the only thing that I would want changed.
That's strange, I am running Opera 9.10 build 8679 on Windows XP (MCE) - SP2, and the script worked out-of-the-box for me.
Monday, 19. March 2007, 03:38:09
Originally posted by quiris:
Originally posted by kesisoglou:
It is *not* latest unstable weekly.I am running Opera 9.10 build 8679
Exactly. The script worked fine in Opera 9.20 build 8732 as well, but in the new build 8746 the script is broken.
I'm not sure if this is a regression in Opera, or some added security breaking the script. If it's a bug, I hope that it's fixed before the next build comes out.
Maybe I should open a bug report on it...
Monday, 19. March 2007, 09:00:35
(a-lib-xmlhttp-cd.js and a-lib-stacktrace.js).
A note for Opera developers:
I would LOVE if cross-domain AJAX calls were possible from UserJS. It would open up for a _lot_ of possibilities.
Wednesday, 21. March 2007, 03:06:07
Originally posted by amix3k:
Jea, I use xErath XMLHttpRequest hack.
OK, I've already reported that his XMLHTTPRequest scripts might not be working in the latest build. We'll see if he comes up with something, or if he's still supporting those script.
Thursday, 22. March 2007, 22:09:22
Originally posted by drlaunch:
Yeah. Someone should fix it.
The author has already stated the he will not maintain this script.
So we are left to the new script, http://my.opera.com/community/forums/topic.dml?id=182282
Friday, 23. March 2007, 00:25:14
Originally posted by Saddle Magic:
Originally posted by drlaunch:
Yeah. Someone should fix it.
The author has already stated the he will not maintain this script.
So we are left to the new script, http://my.opera.com/community/forums/topic.dml?id=182282
Yea, the new script is better, and only uses a single file. It also works in the latest weekly builds.
Friday, 23. March 2007, 00:47:25
error - HTTP links only
Then again the same message about myopera site:
error - HTTP links only
I am running Windows XP (MCE) - SP2 and Opera 9.10 build 8679
Friday, 23. March 2007, 01:11:55
Originally posted by kesisoglou:
Hmm doesn't work here. When I focus to a text area, it displays a message about the fearphage site:
Odd, it works fine for me. Try editing the script and change the spell check engine that it uses.
Line #12: var ENGINE = 2;
Try changing it to use the Orangoo server and see if that works better. The download in my sig, and on my site, uses the fearphage server by default. The original that was posted by d.i.z. uses the GMail server by default.
Friday, 23. March 2007, 09:18:17
I think for the moment I'll stick to "Orangoo Spell Check v3", it works fine for me.
Friday, 23. March 2007, 13:07:05
Originally posted by amix3k:
I am the author of Orangoo Spell...
I use the Orangoo Spellcheck v2, and it works fine! Congrats! I use it for English.
But it's any way to transport the script to any other (above the 27), not supported languages? (E.g.Hungarian)
Friday, 23. March 2007, 18:33:57
Originally posted by vinczej:
I use the Orangoo Spellcheck v2, and it works fine! Congrats! I use it for English.
It's best to not use version 2, as it causes a high server load on Orangoo.
Originally posted by vinczej:
But it's any way to transport the script to any other (above the 27), not supported languages? (E.g.Hungarian)
There would have to be an aspell dictionary for it, and it would have to be installed on the server.
You'll have to request this one for OSpell though, because none of the older scripts are currently supported.
Friday, 23. March 2007, 19:22:33
Originally posted by GT500:
It's best to not use version 2, as it causes a high server load on Orangoo.
Thanks, but at home I can use Ospell very well!
But at work is only the endless spellchecking. So there I have to use the Orangoo v2. I'll try to find the cause of the bad working.
Tuesday, 18. September 2007, 18:55:29 (edited)
I'm using Opera 9.23 Build 8808.
Showing topic replies 1 - 50 of 68.
Forums » Opera Community » General Opera topics » User JavaScript
