New version of Search Keys

I released a new version of Search Keys to make it work with current versions of the Google and del.icio.us web sites. (Search Keys is a Firefox extension that lets you press a number to go to a result in a search engine, so you don't have to remove a hand from the keyboard after typing a search query.)

8 Responses to “New version of Search Keys”

  1. Lady Godiva Says:

    Get a life!

  2. peakshysteria Says:

    Thanks man, tried it out, works excellent, no i have a life………….not for mouse-people……

  3. Michael Fagan Says:

    I don’t supposed you fixed it to work with address bar searching (eg url is “keyword:foo”) when it happens to be google? Only thing preventing me from using it most of the time, and I was a little too lazy to look into the code myself ;-)

  4. Jesse Ruderman Says:

    That’s https://bugzilla.mozilla.org/show_bug.cgi?id=264830 , but it affects enough Search Keys users that it might be worth it for me to include a workaround in Search Keys. I have an idea: for “keyword:” URLs, check document.domain to get a guess at the hostname. One problem is that pages are allowed to change document.domain in limited ways, but at worst they’ll get the wrong search keys settings applied to them.

  5. Jesse Ruderman Says:

    Trying to use document.domain didn’t work well, because it only gives (a guess at) the hostname and not the entire path.

    There are also document.baseURI, document.URL, and document.documentURI. So many choices!

  6. Jesse Ruderman Says:

    I released another new version, 0.7.2, to work around that bug by checking document.documentURI instead of document.location.href. Hopefully that doesn’t break anything.

  7. Michael Fagan Says:

    Thanks :-). Will try it out when I get home from work.

  8. fertas Says:

    Thanks man, works excellent