Unsafe Google Suggestion

By vasyabelkin Last update Jan 26, 2008 — Installed 4,161 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 12 posts, 9 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
Henrique Abreu User

It didn't worked for me either :(
I'm using Firefox 3.0.1 on Debian Lenny and Greasemonkey 0.8.20080609.0

 
dtech User

It works for me on google.nl
Unfortunately it does not work on iGoogle (google.nl/ig). I do not get the firefox autocomplete suggestions like normal but neither get google suggest results.
I'll try to figure out why it doesn't work perfectly.

 
Brierley User

hi there, great script!

unfortunately, it seems to have stopped working for me recently, any idea of it's just me or if it's due to changes on google's end?

anyhow, it's one of my "must-have" scripts, thanks again for your work :)

 
ricardofcf Scriptwright

amazing, thanks a lot

 
vasyabelkin Script's Author

Mikado, fixed in 0.6. Thank you very much

 
Mikado Scriptwright

Sorry, I forgot, I removed repeating unsafeWindow and added these lines:
if (f) f = f.wrappedJSObject;
else return;

and also removed function stuff (can't get why do you need it if call it only once).

 
vasyabelkin Script's Author

Thank you very much, Aaron. The code is merged into 0.5. If somebody will propose some better way, as you asked, I will change it.

 
Aaron McBride Scriptwright

I was having a problem on the /ig page. The query field starts out with focus, so for some reason the code to disable autocomplete doesn't work right away (until you blur and refocus).

To fix it, I added:
f.q.blur();
f.q.focus();
after:
f.q.setAttribute("autocomplete", "off");

Anyone know a better way?

 
vasyabelkin Script's Author

Mikado, I'm sorry but it won't work without "unsafeWindow". You may check this yourself. Or, perhaps, there are some restrictions on my PC

 
Mikado Scriptwright

You can remove unsafeWindow. before document.evaluate.

 
Tanel Scriptwright

L33t - W00t - etc...
Very useful!

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel