Very Raw Output:
Author Note
This is a very rough example. Its main purpose was to serve as a proof of concept. I may improve upon it in the future, assuming I can find a use for it (I don't know enough about WordPress to make a plugin).
The only reason I wrote it was to bypass some apprent "security measures" in place in Mozilla and IE, which won't allow you to perform a JavaScript XMLHTTPRequest on a different domain. The included PHP script
simply performs the exact same query as the Google Toolbar and spits it back out for you to read locally using JavaScript.
For those that don't know, this example uses the spell check engine provided by Google and used in the Google Toolbar.
It is not licensed by Google, and comes with absolutely no warranty. Should you get slapped with a lawsuit and end up in a white collar resort prison with a lover named Bubba, that's your problem, not mine!
On the other hand... If you find this insanely useful and wish to show your appreciation (either in monetary form or by sending me 62 virgins), or if you have a question, drop me an email:
chris@doesnthaveone.com (yes, that's real. I own doesnthaveone.com...).
Good luck! - Chris Meller
Source Code
-
JavaScript Code
This code is a very basic HTTP Request script. I was using it in some early AJAX tests to load entire pages.
View
-
PHP "Redirect" Script
This was the tough part... POSTs all the words to be spell checked to Google's SSL page, then returns the exact display they generated.
View
-
Headers Dump
The output from the Live HTTP Headers extension for Firefox. Shows the format for requests, as well as full headers of the POST.
View