Google Searchkeys

By deleted user Last update Jun 19, 2005 — Installed 1,583 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 7 posts, 5 voices



Jesse Andrews Admin

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

 
Christian Zu... User

It seems once you start hacking you can't stop. I fixed the multi-digit support to clear the state after a link is activated. Now you can use the search results page over and over again (i.e. page back) without reloading.
Also typing '0' gives you the 10th result instead of an error now.

Get the modified script (v 2.2) at http://dev.zuckschwerdt.org/googlesearchkeys.us...

 
Christian Zu... User

Google changed the search result markup again it seems. Each result used to be wrapped in a 'p', now it's a 'div'. Also the link element is now nested by another h2. This in turn is preceeded by a prefetch link sometimes.
I changed the XPath to match the 'h2' with class 'r' (r for result I guess). This should much more stable now. Get the modified script (v 2.1) at
http://dev.zuckschwerdt.org/googlesearchkeys.us...

 
Aaron 1 Scriptwright

Fix is now here:
http://www.youngpup.net/userscripts/

 
Winston Huang Scriptwright

it doesn't work for me either. i replaced

document.onkeydown = keypress_handler;

with

document.addEventListener("keydown", keypress_handler, false)

it seems to work now

 
Dennis L User

It assigned an numeric value to each item in a Google search, but does not respond / load an URL when I enter the associated list number.
Am curious to know how one enters double digit numbers... if I can get the script to work.

 
Aaron 1 Scriptwright

Fixed for 1.5 available here:

http://userscripts.org/fixes/

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