To achieve the effect:
- Open up google
- Type something into the search box that will generate a ‘did you mean’ response (tip. use any misspelled word)
- Use the handy XPather firefox extension to find the XPath expression of the suggested word (in italics). At this time, the relevant xpath seems to be ‘/html/body/p/a/b/i’
- Fire up firebug and execute the following line in the console, substituting your desired suggestion first (the text on the page should change immediately)
document.evaluate('/html/body/p/a/b/i', document, null, XPathResult.ANY_TYPE, null).iterateNext().textContent = 'THE_WORD_YOU_WANT_TO_SUGGEST'
- Finish by typing a new word into the search box and taking a screenshot to impress your friends (or not, as the case may be).
On second thoughts, just use gooogie, it’s much quicker and cross-browser compatible.
1 A handful of people have stated that they don't get the 'did you mean reevoo' message when typing 'review' into google. Well, no, they wouldn't. It's completely made up. He he.