mozdev.org

HaH

resources:
What's New
  • HaH 0.9.1 released, fix for FF 2.0
  • The official home page moved here
Other Stuff

Install the HaH extension v0.9.1
Supported locales: en-EN, fi-FI, it-IT, fr-FR, hu-HU

mozdev.org

HaH and Surfkeys projects aim to make web surfing with a keyboard as usable as possible.
Just with one hand!?

Abstract

Many modern user interfaces have been planned mouse users in mind. There are a lot of "clickable" elements in GUI's, for example buttons, form elements, images, links in web browsers, etc. However, swapping your hand between a keyboard and a mouse is usually not too ergonomic, and many people using computers a lot prefer the keyboard to the mouse. There are also new applications that cannot easily be used with a mouse, e.g. mobile phones and PDAs (without a touch screen) let alone laptops (with the horrible touchpads and fingerpointers) and digital television web browsers with remote control. Finally, disabled people (or just lazy, like me) have problems using these mouse oriented systems at all.

Therefore I like to present a new (AFAIK) idea for "clicking". Pressing a specified button will activate a HaH-mode (Hit-a-Hint), which means that all "clickable" elements in the area will get a hovering hint over them. This hint has a number, and when that number is entered, the corresponing element is to be "clicked".

Introduction

Background

Mozilla and Firefox are the first web browsers with "Find as you type" or formerly "Type ahead find" functions to search links in a web page. This feature has been a salvation for keyboard users, because using only arrow or tab keys in navigation is many times even slower than with the mouse. However, there are some disadvantages. Usually an user selects some part of the word of a selected link, starts typing, and a best matching link is selected when typing.

Why is it not enough?

Regardless of its greatness, "Find as you type" has some disadvantages. If there is more than few links matching the typed pattern, only the first is selected. Pressing Ctrl-G (or similar) jumps to next matching link, but we are almost in the same situation as without the feature. It does not support images, form elements, but it is rather aimed just for text links.

Hit-a-Hint provides a unique number for every link in the page, and typing that number will activate the clickable element. This number can be typed with a keyboard, or with an appropriate speech recognition software (e.g. NaturallySpeaking).

Why this ugly name

I am neither a businessman nor a humanist, so the name does not matter to me. Instead, I am a student of Telecommunications Software, and people in this field love TLA:s (Three Letter Acronyms), especially funny ones. Can you think of a funnier TLA than HaH? I also think that the name is pretty intuitive, because as you can imagine, hitting the hint would cause the hint to drop down and to click whatever is below it. However, if you have any other ideas for the name, I would be glad to consider them as well.

Instructions

Installation

First you have to install the extension. This can easily be done just by clicking the install link above to activate the automated installation process.

To configure the keys, you have to install the Keyconfig extension. Currently some of the keys (such as backspace and esc) are not working without reconfiguring them. You probably have to disable other default key bindings interfering with your configuration.

When installed, you can hit the hints as explained below (the keys are defaults, that can be changed in the preferences):

Basic functionality

  1. Enable HaH-mode (hints will appear on the clickable elements)
  2. Enter the number of the element you want to click
  3. Disable HaH-mode (active/passive mode)

Active disable mode will click the element and passive will cancel and just hide the hints without clicking. If you press some modifier key simultaneously, the click will behave just like as you clicked with a mouse - i.e. you can open the new location in a new window or tab. <SHIFT> key opens by default in a new browser window, and <CTRL> in a new tab.

There are two modes that you can choose from to enable and disable (active) HaH-mode; Normal and Magic modes. The keys used can be changed in the preferences. Canceling (passive disable) is done by pressing <ESC>.

Normal mode

Enable by pressing 'H' (START KEY) and disable (click) by pressing <ENTER>.

Magic mode

Enable by holding down <SPACE> (MAGIC KEY) and disable by releasing it.

Related material

I will collect here some interesting links relating to the subject.

Firefox

Get Firefox!

Ion

Ion X-window manager's homepage contains good information for keyboard users.
User Notes: [?]

If you do not get a response to a question posted in this forum, please try sending a message to the project's mailing list or to the project owner directly.

[1] Submitted by: Onno on Thursday 27th January 2005 at 12:59 -0500

Thanks for this amazing extension! It solves the one problem left when using my Speech Recognition software: easily clicking links on a page (the software integrates with IE to do just this, but not with Firefox). Now I can use Firefox!
Keep up the good work :o)

Kind regards,


Onno Broekmans
(a very grateful user)

Mozilla/5.0 (Windows; U; Windows NT 5.1; nl-NL; rv:1.7.5) Gecko/20041202 Firefox/1.0
[2] Submitted by: e-duck on Saturday 26th March 2005 at 04:27 -0500

feature request:
add a uniq hot-key for each website eq a google search 'next page' hot-key. users setup a hotkey and a link-string to match

Mozilla/5.0 (Windows; U; Windows NT 5.1; da-DK; rv:1.7.5) Gecko/20041118 Firefox/1.0
[3] Submitted by: minimal on Monday 28th March 2005 at 10:31 -0500

Great extension! I'm finally free from the mouse, thank you.

One issue I have though is when I select the start key, enter the link number and hit enter when I'm on the new page and hit the start key again "Find as you type" always comes up. Apparently I have to hit the ESC key everytime. Shouldn't it automatically exit out of HaH mode once I'm on a new page? The new page doesn't have it's links numbered anyway, what's the purpose of being in HaH mode then? Maybe I'm missing something.

Mozilla/5.0 (Windows; U; Windows NT; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
[4] Submitted by: Pekka on Tuesday 29th March 2005 at 21:47 -0500

'Next page'- feature is already in my other extension: surfkeys. It hasn't been released yet, because I haven't had time.

About the start key problem, this seems to be a bug. I use always magic key, and haven't noticed this. Will be fixed in the next release.

Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7.5) Gecko/20041109 Firefox/1.0
[5] Submitted by: pbrown on Monday 2nd May 2005 at 17:32 -0400

This is a really nice extension. I also use it with voice recognition software and it helps a lot. As a workaround for the problem minimal describes, I have my "show numbers" macro just hit comma twice. This always works, except for the first time I start Firefox.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3
[6] Submitted by: ok on Wednesday 8th June 2005 at 14:28 -0400

Using it, like it

Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
[7] Submitted by: Gabe on Sunday 12th June 2005 at 20:43 -0400

Does not work well with Gmail (with rich formatting). The space button does nothing when composing a new email and I've had problems with FAYT when HaH is installed. Otherwise, it's my new favorite extension. :)

PS Using Deer Park Alpha 1

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050609 Firefox/1.0+
[8] Submitted by: claus on Sunday 19th June 2005 at 18:42 -0400

How do I open a link in a new tab?

(or a new window, although tab is what I need)

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
[9] Submitted by: minimal on Wednesday 22nd June 2005 at 21:19 -0400

"How do I open a link in a new tab?"

hold down your magic key... type in link number... hold down CTRL... let go of magic key. The link will open in a new tab.

Unfortunatly Firefox has a really annoying bug where the page is not actually focused. You can't start scrolling up/down on the new page with your arrow keys or PGDN/PGUP. You'll have to hit F6 or tab a few times (depending on how many toolbars you have) to get page focus. I really hope this is fixed in version 1.1

Mozilla/5.0 (Windows; U; Windows NT; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3
[10] Submitted by: Luke on Tuesday 12th July 2005 at 12:19 -0400

Please make it so we can remove the HaH statusbar icon. I have too many down there already and there isn't much room left.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
[11] Submitted by: Remo, voted #1 pimp on Thursday 11th August 2005 at 17:14 -0400

Like Gabe up there, I was having spacebar problems with gmail compose forms. I've set my magic key to ` (back quote) just to avoid this issue.

You might consider a site exclusion list in future versions. Just saying.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
[12] Submitted by: Anonymous on Tuesday 23rd August 2005 at 05:13 -0400

Did development stop? No development activity as of lately it seems. This is an most excellent extension for the keyboard-savvy, so keep up the good work.

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050223 Firefox/1.0.1
[13] Submitted by: Myon on Tuesday 13th September 2005 at 07:11 -0400

This is a really great extension. I really love it.

There is just one problem, which I can't get around from the options. If I'm on a page with several forms, where I for instance want to access the form with HaH value "13", and there is a form with HaH value "1", then when I press the magic key (space) and enter 1, the wrong form will get focused, so when I press 3, I won't get focus on the right form (with HaH value "13"), but instead the letter is typed in the form. If I instead use the option "Allow key input when focus is in a form", I can't use space in the forms. The problem is the same, when I use the start key (comma).

This is not a problem, when the first focused element is a link. But I would really appreciate if the form first gets the input characters, when I release the magic button.

Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
[14] Submitted by: Pekka on Saturday 17th September 2005 at 16:15 -0400

I have released a new version, and some of the problems mentioned have been fixed. Site exclusion list would be one solution, but it is not too hard to hit ctrl-shift-l to disable HaH temporarily, is it? Actually I don't know what the gmail problem is, since I have no access to it. If you can describe the problem more specifically in Bugzilla, I might be able to check it out for version 0.6.

Mozilla/5.0 (Windows; U; Windows NT 5.1; fi-FI; rv:1.7.10) Gecko/20050717 Firefox/1.0.6
[15] Submitted by: slivko on Monday 19th September 2005 at 05:27 -0400

Love this extension, but since I started using FF1.5 I can't change the magic key in preferences, and started having the same problems with the gmail compose page.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4
[16] Submitted by: Myon on Monday 19th September 2005 at 05:28 -0400

I just installed the new version, and the problem I described in an earlier post is corrected. I really appreciate that.

Keep up the good work :)

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
[17] Submitted by: songsoverruins on Thursday 29th September 2005 at 16:02 -0400

Nice idea but I find the workability still quite cumbersome. You have to turn the numbering on every time you enter a new page. Wouldn't it be nice if you turn it one and it subsequently REMAINS on. Furthermore, since numbers light up as you type them, what about the magic key only being effective at that point. At the moment, if I want to use a key that has been assigned as magic key, it shortly shows the numbers if these are not shown yet, rather annoying.

I'd prefer to have the numbers visible by default (with an option to turn them off with one key) and the key to follow a link only be active if one of the numbers has been highlighted.

Thanks for your efforts.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7
[18] Submitted by: Karsten on Wednesday 5th October 2005 at 14:04 -0400

This is a very usefull extension!
Thanks for your efforts.

Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7 StumbleUpon/1.9993
[19] Submitted by: gurgle on Sunday 9th October 2005 at 16:27 -0400

I have the same issue as slivko reported a few posts up: I have not found a way to change the default Magic Key (space) to something else from within HAH's Options menu. The same thing goes for the Start Key (comma).

As I understand it, the key mapping is controlled through content\hah\hahsettings.js, specifically the lines (sorry if I mess up the formatting...)

MAGIC_KEY: new HaHPref('keys.magic', HAH_INT, 512), // space
START_KEY: new HaHPref('keys.start', HAH_INT, 3008), // ','

The problem is that I have no idea where these character codes come from, and I _really_ don't feel like going through them at random :p Any help with this is appreciated, as haven't been able to find any useful information on the char codes.

I am using Firefox 1.5 beta 2 (1.4.1) on Windows.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b5) Gecko/20051006 Firefox/1.4.1
[20] Submitted by: Peterion on Monday 10th October 2005 at 10:29 -0400

songsoverruins: If you want the numbers to remain on try the extension "Mouseless Browsing"

Great extension. I have been browsing without a mouse for years, but it took me a long time to find an extension like this one. I have no problems at all, and I can't wait for this extension on Beta 1.5.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7
[21] Submitted by: Pekka on Tuesday 11th October 2005 at 03:40 -0400

There seems to be a demand for Lynx, Mouseless Browsing or the Conkeror stylish hinting, where the hints mess up the contents of the document.

Actually, HaH was in the beginning similar, but I didn't like that, because I want to see normally the page as it is, without the hints. It would be very easy to include this "feature" into HaH, but I don't see it anymore necessary since other extensions have released to do it the messy way. It is the most straightforward solution to add the hints to all links in the page the messy way, and a lot of work have been done to avoid this and still keep it as efficienta as possible.

For me, space-bar as the magic key is convenient, because you can map the keys to be mjkluio789 instead of the numbers. This way you can click with just one hand. It is very fast way, because with thumb you press the space, and with the normal touch typing fingers the rest. (Remove the "force numeric" from the preferences.) Hands are normally in this position, and you don't have to move them to numpad (I don't even have a numpad).

The idea of HaH is that the hints show up, when something is wanted to be clicked. That is why only links that are visible in the current view, are hinted.
This way the hint numbers do not get too large in pages with thousands of links.

The reason the magic key cannot be changed to whatever, is the mozilla keyevent limitations. There are two type of events, keypress and keydown/up events, and they work differently with different keys. One event fires charcodes and the other keycodes, and e.g. mod-keys do not fire events at all -> thus they can't be used to show up the hints.

Keycodes, as they are seen in preferences and about:config, include also the modifier keys. The formula can be found from the source code. It is not intended to be changed in code level, but from the preferences, where keyinputbox-element generates the keycodes.

But thanks for the comments, I hope this helped. 0.6 should be faster than before, because I have optimized the engine and rewritten it almost totally. If you find any problems, please report to bugzilla. Thanks!

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050825 Firefox/1.0.4 (Debian package 1.0.4-2sarge3)
[22] Submitted by: Aiviru on Thursday 13th October 2005 at 06:14 -0400

Excellent extension for keyboard junkies like myself.

Main problem I used to have was it being way too slow on pages like packages.gentoo.org, which have zounds of links, but the latest version is much better with that :) Kudos.

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050930 Firefox/1.0.7
[23] Submitted by: minimal on Sunday 30th October 2005 at 18:32 -0500

This extention just keeps getting better, a lot of the previous bugs are gone. Great work. Although I'm having a problem with a cgi I'm using to monitor my network. When I invoke HaH the page seems to be constantly refreshing, appears to be flashing. Here's a demo page.

Any ideas what's causing this?

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b5) Gecko/20051006 Firefox/1.4.1
[24] Submitted by: minimal on Sunday 30th October 2005 at 18:34 -0500

I guess links are not allowed? Anyway here's the url again.

www . steveshipway . org / cgi-bin / routers2.pl

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b5) Gecko/20051006 Firefox/1.4.1
[25] Submitted by: david on Thursday 3rd November 2005 at 06:13 -0500

This is just a terrific extension, esp. in combination with surfkeys. I only wish there would be some way to activate HAH when focus is on a form or a button or in the location bar. Currently, I have to hit tab several times to shift focus to a place where the magic key works. The same goes for the surfkeys extension - I know it should work with pressing the alt key, but somehow this simply does not do anything.

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050911 Firefox/1.0.6 (Debian package 1.0.6-5)
[26] Submitted by: safariuser on Monday 7th November 2005 at 03:18 -0500

Does anything like this exist for Safari?

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
[27] Submitted by: Pekka on Wednesday 16th November 2005 at 17:09 -0500

david:
Currently you can press esc, which will blur focus from any form element, meaning that pressing magic or start key will enable hints after it. In the next version 0.6.2 pressing the magic-key twice quickly will do the same. It will be released soon.

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050718 Firefox/1.0.4 (Debian package 1.0.4-2sarge1)
[28] Submitted by: david on Friday 18th November 2005 at 08:38 -0500

Pekka,
Thank you for your help. Pressing esc indeed does the trick, but your idea with pressing the magic-key twice sounds great, I'm looking forward to the new version of HAH.

Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.7.10) Gecko/20050717 Firefox/1.0.6
[29] Submitted by: John on Saturday 19th November 2005 at 18:34 -0500

Thank you for this wonderful extension.

When will HaH along with Surfkeys be availible for Fx 1.5? I've been using both since you first released them and have had to stop when I started using the Release Candidates of 1.5. :(

Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
[30] Submitted by: JohnR on Tuesday 22nd November 2005 at 08:25 -0500

Thanks, great work!

Several problems:

I can see hah in about:config, but I can not find the option menu which somebody talks about (at least it is not in my Tools menu as for other extensions).

On , for example, it does not work: if I start to enter a link number what actually happens is that this digits are echoed in the search form instead (even if I pressed Esc to blur out of it).

Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7
[31] Submitted by: david on Tuesday 22nd November 2005 at 09:05 -0500

JohnR,
for the options menu, go to Tools->Extensions, then click on "Hit and Hint" and press the options button. For your latter problem, disable "Use find as you type" in the Firefox preferences (under Advanced->Accessibility).

Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.7.10) Gecko/20050717 Firefox/1.0.6
[32] Submitted by: Appelflap on Saturday 26th November 2005 at 05:08 -0500

Just want to thank Pekka for his great extension! Keep up the good work! Now, I want an extention where you can just think "click link".

Mozilla/5.0 (Windows; U; Windows NT 5.1; nl-NL; rv:1.7.12) Gecko/20050919 Firefox/1.0.7
[33] Submitted by: Appelflap on Saturday 26th November 2005 at 05:28 -0500

B.t.w. in the text on the homepage of Hit-a-Hint, in the part under the heading "instructions", the link "install" there refers to an old version of Hit-a-Hint (vs 0.4)!

Mozilla/5.0 (Windows; U; Windows NT 5.1; nl-NL; rv:1.7.12) Gecko/20050919 Firefox/1.0.7
[34] Submitted by: Zorro on Wednesday 30th November 2005 at 04:38 -0500

Congratulation. Can't wait for the Fx1.5 update !

Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8) Gecko/20051111 Firefox/1.5
[35] Submitted by: augmentedfourth on Friday 2nd December 2005 at 11:32 -0500

These two lines in will user.js (Fx1.0.7) control the keyboard shortcuts (I have "comma" as start key and "tilde" as magic key):

user_pref("extensions.hah.keys.magic", 3072);
user_pref("extensions.hah.keys.start", 3008);

Unfortunately, putting those two lines in my user.js won't change anything when running Fx1.5.

Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7
[36] Submitted by: Mortimer on Wednesday 7th December 2005 at 13:48 -0500

I "bumped" the extension so it can work with firefox 1.5, method 2 from this page works:

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
[37] Submitted by: NebuK on Thursday 8th December 2005 at 15:32 -0500

from what i know hah works with firefox 1.5 deerpark - simply check out the cvs, edit the install.rdf and change maxversion to 1.5 - so it will install. after that run mkxpi.sh and install the created hah_.xpi (in downloads/) - works fine for me :P

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051208 Firefox/1.5
[38] Submitted by: appelflap on Friday 9th December 2005 at 05:28 -0500

NebuK, please explain... :)

Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8) Gecko/20051111 Firefox/1.5
[39] Submitted by: appelflap on Friday 9th December 2005 at 05:44 -0500

Another work-around to make hah work with version 1.5 is described here:

Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8) Gecko/20051111 Firefox/1.5
[40] Submitted by: appelflap on Friday 9th December 2005 at 05:48 -0500

Aha, links aren't accepted on this board. So, in addition to my previous posting, google "lifehacker app.extensions.version" (without quotes) and the first hit will get you to the page I tried to point to.

Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8) Gecko/20051111 Firefox/1.5
[41] Submitted by: Pete R. on Sunday 11th December 2005 at 23:39 -0500

After starting Firefox 1.5, FAYT works fine until the first time that I use Hit-A-Hint. Thereafter, FAYT does not work anymore unless I restart Firefox.

(When I say FAYT, I don't mean Ctrl-F, I mean when I just start typing the characters for which I'm searching.)

I wish that I could use both FAYT and HAH.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
[42] Submitted by: augmentedfourth on Friday 23rd December 2005 at 01:43 -0500

Those who have gotten HAH to work in Fx1.5, have you been able to change the preferences (specifically, modifying the Start Key and Magic Key)? I've been able to install HAH, but I can't keep it with the space bar as the magic key-- I use it all the time for page-down.

Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7
[43] Submitted by: Pekka on Thursday 29th December 2005 at 02:52 -0500

New version is available on the homepage

Pete R: I used FAYT before, but nowadays I need it just rarely, only when I have to find up something. Then you can just press '/'. FAYT should be disabled if you are using HaH.

I will commit the source tree here as soon as I have time, it has been totally restuctrured.

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050922 Firefox/1.0.7 (Debian package 1.0.7-1)
[44] Submitted by: Lika on Tuesday 3rd January 2006 at 03:47 -0500

I installed 'Install the Firefox (1.5) extension v0.7' from the official home page and my FF recognized it (it is in the list of extensions), but if I press Space or comma nothing happens!

Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
[45] Submitted by: Lika on Tuesday 3rd January 2006 at 04:19 -0500

Ok, after Space something happens -- the screen is scrolled and the following error message is generated:

Error: [Exception... "The expression is not a legal expression." code: "51" nsresult: "0x805b0033 (NS_ERROR_DOM_INVALID_EXPRESSION_ERR)" location: "chrome://hah/content/overlay.js Line: 308"]
Source File: chrome://hah/content/overlay.js
Line: 308

overlay.js:308 is as follows:
var res = doc.evaluate(tags, doc, null, XPathResult.ANY_TYPE, null);

Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
[46] Submitted by: david on Tuesday 3rd January 2006 at 13:31 -0500

I can confirm Lika's problem. Can the new version of HAH somehow be used with older firefox versions 1.0.x?

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
[47] Submitted by: ASK on Wednesday 4th January 2006 at 04:21 -0500

The Lika's problem can be fixed as follows: edit function getHintableElems in content/overlay.js of chrome.jar, change the initialization value of the tags variable: `var tags = hahPrefs.getCharPref("hints.tags");',
rezip, start the firefox, change the options to what they say they are:
`XPath of the tags to be hinted' should be
`//a|//input|//textarea|//select|//button|//isindex|//frame|//iframe'.

Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
[48] Submitted by: FAO on Tuesday 10th January 2006 at 07:27 -0500

The nw HaH version 0.7 is working in my Firefox 1.5.
But with one problem.
HaH does not work properly with pages based on frames.
With the version 0.6 and firefox 1.0.7 it worked good with frames.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
[49] Submitted by: Bryan on Friday 13th January 2006 at 17:16 -0500

I have Lika's problem except I get no error. Specifically, I installed v0.7 from the official website, it shows in the extensions list, but nothing happens if I hit comma and hitting space only causes a scroll. I tried the fix suggested by ASK but it did not work. This happens whether or not I have "Begin finding when you begin typing" disabled.

Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8) Gecko/20051111 Firefox/1.5

Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
[50] Submitted by: david on Saturday 14th January 2006 at 08:43 -0500

Bryan,
open the JavaScript console, you will probably see the error there. The fix suggested by ASK did not work for me, either. I switched back to Firefox 1.0.6 for the time being, since there is also no surfkeys for 1.5.

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050922 Firefox/1.0.7 (Debian package 1.0.7-1)
[51] Submitted by: FAO on Monday 16th January 2006 at 08:38 -0500

Bryan

I had the same problems.
I solved is by removing the content of firefox profile dorectory and after starting Firefox again a new profile content is created and everything worked just fine.
Remark: make a copy of the bookmark.html in the profile direcory and copy it back after recreating the profile.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
[52] Submitted by: PeterStuifzand on Wednesday 18th January 2006 at 07:18 -0500

The problem is also fixed by using the hints.tags value from ASK:
//a|//input|//textarea|//select|//button|//isindex|//frame|//iframe

and putting that in 'extensions.hah.hints.tags' in about:config.

The code (.split(';')) that understood the previous config value will not doing anything with the value, because there is not ';' in the config value.

Using the new config value will let it work as expected. No need for editing the code en rezipping the extension.

Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8) Gecko/20060112 Debian/1.5.dfsg-4 Firefox/1.5
[53] Submitted by: Kerman on Wednesday 18th January 2006 at 09:28 -0500

Peter got is right. No need to create a new profile.
By willing to keep old setup the extension is not changing the old config style (that applies to the styles as well). Would of been nice though that the check of existance was then checking the old style (any ';'s) and replacing to the new one ('|'s)

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
[54] Submitted by: Kerman on Wednesday 18th January 2006 at 09:30 -0500

sorry, not spamming but just wanted to add the new default value (for those who can't find it):

//*[@href] | //*[@onclick] | //*[@onmousedown] | //*[@onmouseup] | //*[@oncommand] | //input | //frame | //iframe | //textarea | //button | //select | //*[@class='lk'] | //*[@class='s']

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
[55] Submitted by: Pete R. on Saturday 21st January 2006 at 17:11 -0500

Thanks everyone for posting the solutions. HAH did not work for me either when I installed the new version today.

Given that (1) some of the prefs are not updated in Firefox's prefs.js during installation and (2) some of the obsolete prefs are not removed, I manually did this. This is what my HAH's prefs now look like in my Firefox's prefs.js:

user_pref("extensions.hah.hints.style", "z-index:500; [snip] ");
user_pref("extensions.hah.hints.styleFocus", "z-index:500; [snip] ");
user_pref("extensions.hah.keys.magic", 3072);
user_pref("extensions.hah.keys.numbers", "abcdefghjklmnprstuvwxyz");
user_pref("extensions.hah.keys.start", 944);

It appears that HAH now automatically adds or removes prefs depending on if they are default values or not. For example, if you disable HAH then a new pref is added: user_pref("extensions.hah.enabled", false);

Pekka, thanks for the new version and for telling me about the slash key (/). That's much nicer than Ctrl-F and I've now disabled FAYT.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
[56] Submitted by: Ilya Voyager on Thursday 2nd February 2006 at 12:05 -0500

Did anybody get it worked under Fx 1.5.0.1? It doesn't show hints when I press 'magic key'...

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060124 Firefox/1.5.0.1
[57] Submitted by: Ilya Voyager on Friday 3rd February 2006 at 06:22 -0500

Answering to my own question: yes, HaH works under 1.5.0.1 perfectly. It was conflict with another extension or config.

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060124 Firefox/1.5.0.1
[58] Submitted by: chrispix on Thursday 16th February 2006 at 16:42 -0500

I'd really like to change my start key, as it occasionally causes problems in gmail, where I can't type commas. I was able to change my magic key to backtick based on someone else's comment here, but I can't figure out the formula for calculating the code for a key.

One post says "Keycodes, as they are seen in preferences and about:config, include also the modifier keys. The formula can be found from the source code. It is not intended to be changed in code level, but from the preferences, where keyinputbox-element generates the keycodes." Can you expand on that? I've looked through the HAH source code, and found no such formula. Can you tell me specifically where to find it, or just document it here?

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
[59] Submitted by: Pekka on Saturday 18th February 2006 at 04:06 -0500

The rich text areas of gmail etc. do not work as normal textareas. If someone comes up with a good solution to recognize such elements, I will fix this.

The keycode formula is a simple shift+OR operation combo, you will find them in the bindings.xml file (at the end of the file, two last methods)

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060124 Firefox/1.5.0.1
[60] Submitted by: chrispix on Thursday 23rd February 2006 at 13:42 -0500

OK, here's how I was able to update my keycodes.

1) Go to and find the hex value for the key you want to use as your magic or start key. For example, the hex value for . (DOM_VK_PERIOD) is 0xBE
2) In your address bar, type javascript:alert(0xBE

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
[61] Submitted by: chrispix on Thursday 23rd February 2006 at 14:54 -0500

OK, so that post didn't work. Here are the instructions for how to customize your keycodes:

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
[62] Submitted by: chrispix on Thursday 23rd February 2006 at 14:59 -0500

yeesh, can't even post a link. Try this URL for instructions on how to customize your keycodes:

onlinefactotum.blogspot.com/2006/02/customizing-hit-hint-shortcut-keys.html

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
[63] Submitted by: Pekka on Sunday 26th February 2006 at 15:09 -0500

Chrispix, why are you doing this the hard way? Doesn't the preferences panel work for you? Have you tried Tools/Extensions/Hah/Preferences where you can change the start key just by entering it in the keyinputbox-element?

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060124 Firefox/1.5.0.1
[64] Submitted by: Mattyd on Monday 20th March 2006 at 03:17 -0500

since upgrading to Firefox 1.5.0 the .7 or .71 version of the software refuses to work Neither is the magic key nor Starkey display numbers to select. Version .6 .1 works perfectly. Can I get a suggestion as to how I troubleshoot this so I don't have to continue using .6 .1?

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
[65] Submitted by: r.n.k on Monday 20th March 2006 at 06:16 -0500

Please update this page - I don't understand, why
the updated version is only on the "official homepage"
and not here. Also, please update the "Surfkeys"
extension to support newer versions of Firefox.
I can do it for myself, but many people can't.
Anyway, big thanks for super stuff!

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.2) Gecko/20060314 Firefox/1.5.0.2
[66] Submitted by: Pekka on Saturday 25th March 2006 at 09:34 -0500

Okay, I have updated these extensions. Please report any bugs you find to bugzilla, since there have been a lot of changes. I decided to let the keyconfig@dorando extension to manage the keyboard shortcuts (and magic/start etc. keys). So you cannot change the keys from the extension's preferences anymore. I also dropped some other options from the preferences, since I saw them unnecessary. I think it is more convenient if the shortcuts can be centrally managed, and the keyconfig extension does this quite well.

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060124 Firefox/1.5.0.1
[67] Submitted by: Peter S. on Monday 27th March 2006 at 15:55 -0500

It seems to work fine on a clean install of Firefox. Upgrading from a profile that already had Hit-A-Hint installed on it causes hints to sometimes "stick". When pressing and releasing the magic key the hint will stay on until I press and release it again. I'm guessing this is caused by some option I left on in .71.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
[68] Submitted by: Pekka on Tuesday 28th March 2006 at 01:53 -0500

If you have (you probably do) problems with ESC and Backspace keys, install the keyconfig@dorando extension and disable the default esc and backspace bindings, because they interfere with HaH. If this is not enough, reassign these keys (hahBackspace and hahExit) to the same values.

Peter S: Thanks for reporting the "stickiness" bug. Would you please give me details how to reproduce this phenomenon and preferably to bugzilla. Thanks!

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060124 Firefox/1.5.0.1
[69] Submitted by: Greg Diebel on Wednesday 29th March 2006 at 17:49 -0500

Great extension. Has really changed the way I use the browser without a mouse. One concern with the new version. With .7 the blurfocused seemed to work perfectly. With spacebar as magic key, hitting it in a form field worked fine, but also hitting escape in any form field blurred the focus. This is a very useful feature when using sites such as gmail, wikipedia, plone, etc. where text entry is common. Just hit escape key and you are back to the page, where surfkeys, key navigation, and custom javascript keys (like gmail) work fine. With .8, you can assign hahblurfocused to escape, but it seems to interfere with the normal stop action of the escape key. Thinking about looking into the code myself. It would be nice to have consistent blurfocus behavior.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
[70] Submitted by: Greg Diebel on Thursday 30th March 2006 at 06:46 -0500

To follow-up on previous comments: When using keyconfig to assign hahBlurFocused to esc this works fine, but only if I also reassign the browsers stop event. If esc is still stop, then blurfocus does not work. In .71 esc would still be stop when needed but also blurfocus. Just to be thorough, one of your default keyconfigs conflicts with a firefox default, ctrl+shift+r is reload (override cache).

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
[71] Submitted by: abrar on Saturday 1st April 2006 at 15:03 -0500

Using version 0.8 of hah and versoin 0.4.1 with firefox 1.5.0.1
The 3 keys that do not work for me are 'w' key to close window, 'b' key to show buffers & 'y' key to close tab. Did I miss something?

Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
[72] Submitted by: abrar on Saturday 1st April 2006 at 15:42 -0500

Using version 0.8 of hah and versoin 0.4.1 with firefox 1.5.0.1
The 3 keys that do not work for me are 'w' key to close window, 'b' key to show buffers

Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
[73] Submitted by: Greg Diebel on Saturday 1st April 2006 at 19:39 -0500

abrar: you are most likely referring to the keybinding table at surfkeys.mozdev.org. that list is out of date. with the new version (0.4.1) key bindings are handled with the keyconfig extension. just set your keys however you wish.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
[74] Submitted by: dave on Sunday 2nd April 2006 at 07:04 -0400

Just wanted to say "Thanks!" for the new versions. HAH and surfkeys have become the most important extensions for me and are the main reasons for not switching to Opera. The feature with double-pressing the magic key to blur focus is simply great!

Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
[75] Submitted by: gabe on Sunday 2nd April 2006 at 14:15 -0400

Is there a way to disable the space bar for HaH? I use surfkeys and would just like to use 'h' (and pressing enter). The reason for this is because when a checkbox or button is focused, hitting space does the hit-a-hint thing, instead of checking the checkbox or pressing the button.

Using latest versions of both extensions and Fx 1.5.0.1

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
[76] Submitted by: Pekka on Sunday 2nd April 2006 at 16:55 -0400

gabe: have you tried to rebind the magic key with the keyconfig extension? Also, You can press the button and check the checkboxes with HaH directly just by entering the corresponding number.

Currently HaH prevents the propagation of the magic key event, since the default behavior for the space key is "page down". That's why space do not work in the form elements either. But by disabling the magic key in the keyconfig extension it should work as by default.

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060124 Firefox/1.5.0.1
[77] Submitted by: Pete R. on Saturday 8th April 2006 at 02:52 -0400

When I press the Start Key, type the letters for a link, and press Enter, the new page loads fine. The problem is that Hah remains active and I cannot type anything on the keyboard until I turn off HaH by pressing the Start Key again on the new page.

This started to happen after I installed HaH 0.8. FYI, my Start key is defined as a semi-colon: ;

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
[78] Submitted by: Pete R. on Monday 10th April 2006 at 11:29 -0400

Another problem with 0.8: if I press the letter 'n' twice, my keyboard stops working. I can reproduce this consistently by clicking in the Address Bar (or in any form field) and typing nn quickly.

When I disable HaH, the problem disappears.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
[79] Submitted by: Pete R. on Monday 17th April 2006 at 18:32 -0400

1) I've discovered a workaround for the problem with typing nn in forms. When I define the magic key as Ctrl-Shift-N, the problem happens when I type nn in forms. If I define the magic key as Ctrl-Shift-J, then the problem happens when I type jj in forms.

Since I never use the magic key, I've changed it to F10 (which I would never type in a form). Problem solved.

2) As someone else posted, we apparently can't define HaH keys with the same bindings that Firefox uses. For example, if I bind "HaH Exit" to the Esc key, then the Esc key doesn't do "HaH Exit" (but it does do Firefox's function). So instead, I bound the "HaH Exit" to F8. Problem solved.

3) So, the only problem that I have with HaH 0.8 is that HaH doesn't automatically exit when I follow links (as I described two posts ago on 8 April).

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2
[80] Submitted by: Pekka on Monday 1st May 2006 at 03:31 -0400

Pete R:

1)
The "problem" you describe is a feature of the magic key. Pressing it twice quickly will disable the focus out of the form. You should be able to disable this by setting the "Maximum delay between two magic key hits..." preference to "0". Or smaller than the usual delay you have when pressing double characters. I have noticed that in Windows this works quite differently, since holding the magic key down causes the same effect which is not intended.

2)
By using keyconfig extension, you can change also the defaut firefox bindings. It is highly recommended to disable the firefox default backspace and esc bindings.

3)
This was actually a bug in the new engine that will be fixed in the next release (0.8.1)

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2
[81] Submitted by: Pete R. on Monday 1st May 2006 at 08:57 -0400

Thanks, Pekka.

1) The problem is that I defined the magic key as Ctrl-Shift-n. But then the magic key also works when I press only the letter n by itself (without Ctrl-Shift). This causes the magic key to run when I don't want it to run (e.g. when typing normal text in forms). Maybe this is a bug in the keyconfig extension, I don't know.

2) Thanks but I use Firefox's spacebar and Esc functions all the time.

3) Good news!

This is one of my favorite extensions and I use it all the time. Thanks again.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2
[82] Submitted by: Max S. on Monday 1st May 2006 at 22:53 -0400

HaH creates all the hits at the bottom of the page and not on the links themselves. What could be the cause of this? It was not an issue in the pre-0.8 versions.

Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2
[83] Submitted by: Pete R. on Tuesday 2nd May 2006 at 08:03 -0400

To fix that:

1) I uninstalled HaH.
2) Closed Firefox.
3) Removed all HaH entries from prefs.js (and possibly the related keyconfig entries)
4) Re-installed HaH.
5) Reset my options in HaH and in keyconfig.

This has been necessary for me in the last two versions of HaH, but hopefully this will not be necessary in the future.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2
[84] Submitted by: Pekka on Friday 5th May 2006 at 02:00 -0400

Pete R:
1) Ok, I see.. I read your message too quickly. This may also be a problem with HaH. I will check it out.

2) If you use backspace and esc keys as hahBackspace and hahExit, you should disable the default keys at the moment. Otherwise it does not seem to work since Firefox does not seem to allow multiple bindings for these keys by default. However, it could be handled another way, so maybe I still consider this.

To fix the hints, it should be enough to reset the hint style strings in about:config.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3
[85] Submitted by: Tommy Olesen on Tuesday 23rd May 2006 at 12:53 -0400

I wrote this on the firefox addons site ( but maybe you are not reading that, so forgive that I repeat it here:

Version 0.8 was a regression

by Tommy Olesen , May 16, 2006

Dear Pekka, Thanks for a great tool. I share your hate for the mouse & love for speedy interaction (=keyboard). I cannot, however, use hah after the lates upgrade. Hah gets activated when I type in textbox & hit space twice in a row (e.g., after full stop in a sentence). (To reproduce, just try out this text box I am using right now! It has just happened for me more than 5 times. I use firefox 1.5.0.3 on xp.)

Also, before in the options screen I could select what key activates hih (other than space). I could also select sites where it is deactivated. I need to deactivate it for instance for google mail. These two options are no longer available. Why is this? If I cannot deactivate hih for gmail, I cannot use it, as I need gmail.

Many thanks in advance, Kind Regards,
Tommy


#
... one more thing

by Tommy Olesen , May 16, 2006

I DID try out blanking out all the settings ("about:config" and all that), but it did not help. Remember most people upgrade extensions automatically in ff without looking at your changelog comment, so they will not know that they must do this. The end result is that most users will simply uninstall hih because it stops working, which is a great pity. Newer versions should be self-contained if you want to keep your users.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3
[86] Submitted by: Pete R. on Wednesday 24th May 2006 at 03:06 -0400

I've discovered two more problems with HaH 0.8.

3) When some websites finish loading, Firefox "flashes" (perhaps it erases everything in the window and then redraws it?). An example is www.geocities.jp/wknxc134/moz_ext/
(For what it's worth, that website is for a Thunderbird extension called "Get before Send".)

4) Also, there is occasionally a pause of one second or more when I hold the down-arrow key or when I drag the scrollbar with my mouse. In both cases, the webpage begins to scroll, stops for one second or more, then continues to scroll. This also happens occasionally when I'm typing in forms.

Both of these problems disappear when I disable HaH and restart Firefox. I'm not sure if these problems are because of HaH by itself, or if there is a conflict between HaH and my other Firefox extensions.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3
[87] Submitted by: r.n.k on Wednesday 24th May 2006 at 08:43 -0400

Surfkeys: can users adjust the scrollrate? Thanks.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3
[88] Submitted by: Pete R. on Sunday 28th May 2006 at 00:41 -0400

Regarding (3) above, here is another example of a website that flashes when I enable HaH:

whatisthematrix.warnerbros.com

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3
[89] Submitted by: Pekka on Sunday 28th May 2006 at 07:09 -0400

Tommy:

I agree that many things have changed in the version 0.8. It increased the performance (speed) of the extension significantly in some cases, and enabling the support for keyconfig extension makes it easier to control the keyboard bindings from one location. However, some issues do not work as before anymore, and I understand that it may appear as a regression to some users. I try to figure out how to solve them. What is the main problem with gmail of which you want to disable HaH on that page?

Enabling the HaH-mode after double-pressing the magic key is a feature. You can turn it off by setting the delay between the hits to 0 in the preferences.

Pete R:
3) This is peculiar phenomenon appeared after firefox 1.5. I hope it gets fixed in the future versions.

4) Please try to figure out how you can reproduce this, and tell the steps to me.

r.n.k:
You can only adjust it by pressing the keys several times in a row. It accelerates the scroll speed. But in the current version you cannot change the acceleration rate. Is that what you mean?

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3
[90] Submitted by: mattyjd on Saturday 3rd June 2006 at 20:08 -0400

the new extension update (0.8) no longer allows the . key to turn the hints always on? How is this an upgrade? Am I doing somehing wrong?

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4
[91] Submitted by: Pete R. on Thursday 15th June 2006 at 19:39 -0400

3) Regarding the flash after certain webpages load, I don't believe that this is caused by Firefox 1.5.*.

Using Firefox 1.5.0.4 for all testing, the problem exists with HaH 0.8 but does not exist with HaH 0.7.1.

4) Regarding the problem with Firefox freezes for several milliseconds while I'm scrolling, there seems to be a problem between HaH 0.8 and Keyconfig 20050908.4. If I disable either extension (or both extensions), the problem disappears.

This problem happens when I have the following line in my prefs.js:

user_pref("keyconfig.main.hahMagicKey", "][][VK_F10");

but the problem disappears when I disable the Magic Key in keyconfig, like this:

user_pref("keyconfig.main.hahMagicKey", "!][][");

To reproduce this problem, you could define the Magic Key as F10, go to shareware.pcmag.com/welcome.php?&SiteID=pcmag
then hold the down-arrow key until you have scrolled to the bottom of the webpage. If you watch the scrollbar move, you should see that it pauses for a few milliseconds every four seconds or so. The same thing happens when I hold the up-arrow key to scroll back to the top of the webpage.

Granted, the problem is hardly noticeable on PC Magazine's webpage, but it demonstrates the problem. The problem is much worse on other webpages (I'll post their URLs when I find them again).

For what it's worth, the flashing (3) is still a small problem for me, but the freezing (4) is no longer a problem for me because I have now disabled the Magic Key in keyconfig.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4
[92] Submitted by: augmentedfourth on Monday 27th November 2006 at 08:59 -0800

Is there a reason that version 0.7.1 (the last version with built-in Start/Magic Key customization) isn't listed in the mozdev installation page at ? Anything after that is just a bit too slow for me, and 0.9.1 won't always work on my Macs. (I'll describe the bug in more detail if it's requested, but I'm happy with the copy of 0.7.1 I found on a Mozilla mirror. It would be nice to have that version available from the "official" location, though.)

Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0
[93] Submitted by: augmentedfourth on Monday 27th November 2006 at 09:07 -0800

Whoops; I should have used the escape sequences for those chracters. The string "&lt; belongs between "at" and the question mark in my first sentence.

Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0
[94] Submitted by: augmentedfourth on Monday 27th November 2006 at 09:09 -0800

OK, sorry for the obscenely uncouth triple post, but the HTML handling in these comments is completely off-the-wall. I was just trying to include the URL between angled brackets.

Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0
[95] Submitted by: Anon on Monday 1st January 2007 at 22:51 -0800

I dont know what the deal is. This extension used to be clean, simple, and easy to use. Why did you remove the "install an extension and use it immidiately with magic keys enabled" functionality? Now its like pulling teath to work this thing.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
[96] Submitted by: Christian Crowhurst on Tuesday 2nd January 2007 at 01:43 -0800

I've tried to install this addin but firefox (2.0.0.1) is complaining that the addin is not compatible. Any chance in getting this addin updated so that I can install in the version of firefox that I'm using.

Thanks
Christian

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
[97] Submitted by: Hi on Tuesday 2nd January 2007 at 12:07 -0800

Dear friend..
You have just created a magnificent extension.. i just love it.. Pleas keep the great work forward.
*****
some time i have to press the magic key twice so i can travel between links...
i hope you can fix that...
And also.. if there were a way to change the magic key..I've tried keyconfig but it was useless...
Thanks again

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
[98] Submitted by: jarimbaphine on Tuesday 2nd January 2007 at 12:19 -0800

I have tried several navigation plugins and I like this one best. Good work!

There is a small problem with the keys "page up"/"page down" or the arrow keys. Sometimes I get stuck an a mode where these keys do not work any more and I can not scroll the page.

Mozilla/5.0 (Windows; U; Windows NT 5.2; de; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
[99] Submitted by: Pedro Rodrigues on Friday 12th January 2007 at 16:39 -0800

Great extension.

Any way to cancel a selection in Magic Mode, when selecting a wrong link (still getting the hang of it)? Like using ESC in Normal Mode?

If not, consider it a request feature.

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.1) Gecko/20061208 Firefox/2.0.0.1
[100] Submitted by: phil on Sunday 28th January 2007 at 07:59 -0800

FYI, doesn't work with the latest version of FFX (2.0.0.1)

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
[101] Submitted by: derek on Wednesday 11th April 2007 at 08:49 -0700

great extension. one question: the CTRL-key modifier does not work for me (i.e. i can't get a link to open in a new tab by pressing CTRL along with the ENTER key). Any suggestions?

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
[102] Submitted by: ArtSalt on Friday 27th April 2007 at 22:18 -0700

Suggestion to Pedro Rodrigues.

Press StartKey when pressing MagicKey.

Mozilla/5.0 (Windows; U; Windows NT 5.1; ja; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
[103] Submitted by: ( ~_~);; on Saturday 28th April 2007 at 14:20 -0700

This extension so Finnish, it stinkaa!!

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.10) Gecko/20070313 Fedora/1.5.0.10-5.fc6 Firefox/1.5.0.10
[104] Submitted by: Papilio protenor on Sunday 29th April 2007 at 23:41 -0700

Suggestion to derek:

To use the CTRL-modifier with hahEnterKey, install keyconfig and add following line into user.js:
pref("keyconfig.main.xxx_key__hahCtrlEnter","control][][VK_RETURN][hah.enterExitKey(event,true);][chrome://browser/content/browser.xul");

Mozilla/5.0 (Windows; U; Windows NT 5.1; ja-JP-osaka; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3 XPCOMViewer/0.9.5
[105] Submitted by: Ted Jardine on Friday 1st June 2007 at 15:09 -0700

Download link appears to be broken.

Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506)
[106] Submitted by: Ted Jardine on Friday 1st June 2007 at 15:12 -0700

Got it via the Installation link: as the Install the HaH extension v0.9.1 at the top of this page points to which returns a 404.

Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
[107] Submitted by: Sonixx on Thursday 7th June 2007 at 07:02 -0700

Hi,

First of all I am happily using hah, but can someone tell me how I can select email messages with it in the inbox of Gmail? When I press 'h' or the spacebar no numbers get assigned to the email messages, so I still need to use the mouse.

Regards,

Ben

Mozilla/5.0 (Windows; U; Windows NT 5.0; nl; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
[108] Submitted by: jorges on Tuesday 3rd July 2007 at 06:25 -0700

Can the magic key be changed? I tried keyconfig, but if I change it, the labels get stucked even after releasing the key, and esc doesn't cancel either.
Otherwise, great work, I love this extension!

Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.4) Gecko/20070621 Firefox/2.0.0.4
[109] Submitted by: Adam on Thursday 12th July 2007 at 07:28 -0700

Same request re: magic key. I count on space for "page down" functionality -- but haven't found a way to redefine it with the latest FF/keyconfig/HaH.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
[110] Submitted by: glen on Saturday 4th August 2007 at 01:41 -0700

Did anyone have any luck getting this to work? It is a great concept, for those us with Carpal Tunnel Syndrome. Unfortunately, although I installed in on several computers, it never worked anywhere. You can hit the H key for hours all day long, but you'll never see any hints pop up! So it's sadly worthless as is. Also, no documentation or clue about what the mysterious 'magical mode' might be, nor what the secret 'magic key' is!! (combo of space-bar? and some unknown key ??)
There is a related extension, 'Mouseless Browsing', which does work (but which still has bugs).
Because this program is so needed by the disabled (me!), I'm looking around now to hire some coders to create a working version of this kind of program. If anyone is interested, contact me at: yesitsglen yahoo. Thanks much.

Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.0.12) Gecko/20070508 Firefox/1.5.0.12
[111] Submitted by: Markus on Tuesday 7th August 2007 at 06:48 -0700

I'd really like to use this extension, but each time I try it again, it disappoints me again :-(
Okay... space is a very bad choice for magic key, because it is page down and much more convenient to press than page-up/down keys. A real keyboard users would know that and never assign space to anything else.

Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0
[112] Submitted by: Markus on Tuesday 7th August 2007 at 06:48 -0700

And why do I have to manually refresh the hints? I've browsed the source, they are cashed for speed reasons, but AFAIK you can find out if the page layout has changed (regardless how) in that case the cache should invalidate automatically.
Still HaH sometimes interferes with Find-As-You-Type. This can be avoided, other extensions avoid that, too. I don't want to have to activate FAYT with ' or /, I like it to start when I start typing. It's the fastest way of searching for something on the page.

Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0
[113] Submitted by: Markus on Tuesday 7th August 2007 at 06:49 -0700

What I like about HaH is that I can configure the keys. I hate number keys for that, making most other extensions useless for me. I wanted to make a good plugin with none of these issues myself, but writing a plugin for FF is so darn ugly - it's really painful.

Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0
[114] Submitted by: Jeff J. on Wednesday 8th August 2007 at 16:02 -0700

Anybody know how to get the 'hints' to show? They done show on my system...

Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.0.12) Gecko/20070508 Firefox/1.5.0.12
[115] Submitted by: Sylvain on Tuesday 9th October 2007 at 19:01 -0700

Simply great, thx a lot!

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7
[116] Submitted by: William Miller on Friday 19th October 2007 at 07:55 -0700

Hate to be a bother, but using Firefox 2.0.0.8 I'm not allowed to install the extension as it says it is only compatible up to 2.0.

Is there a way to install anyway, or is it truly not compatible?

Thanks.

Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.8) Gecko/20071008 Firefox/2.0.0.8
[117] Submitted by: Sonixx on Saturday 20th October 2007 at 12:49 -0700

Hi William,

You might want to try to install a lower version of firefox, and install Hit a Hint, after which you upgrade firefox to the latest version. Beside that, I guess it is just a matter of waiting, untill Hit a Hint has been updated.
I had Hit a Hint and Firefox 2.0.0.7 installed and upgraded to 2.0.0.8 today, and the plugin seems to work fine as far as I can see. So maybe it's worth to apply this workaround.

Regards,

Sonixx

Mozilla/5.0 (Windows; U; Windows NT 5.0; nl; rv:1.8.1.8) Gecko/20071008 Firefox/2.0.0.8
[118] Submitted by: William Miller on Saturday 20th October 2007 at 19:57 -0700

Well, I tried again, without having done anything differently, and to my amazement there was no problem.

Thanks.

Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.8) Gecko/20071008 Firefox/2.0.0.8
[119] Submitted by: olli on Friday 2nd November 2007 at 12:21 -0700

The installation link on top of this page doesn't work.

Thanks for the great addon.

o

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.8) Gecko/20071004 Iceweasel/2.0.0.8 (Debian-2.0.0.8-1)
[120] Submitted by: skorpan on Wednesday 26th December 2007 at 16:32 -0800

I can't figure out why this extension is actually slower than Vimperator's.

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071204 Firefox/2.0.0.10
[121] Submitted by: Shyam on Monday 28th January 2008 at 20:54 -0800

I dont know why the development is halted, though this is a very helpful extension.
I would like to have this made compatible with FF 3 (beta 2 at this moment).
My request to the developer is to enhance the extension & make it compatible with FF3.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b2) Gecko/2007121120 Firefox/3.0b2

To add a comment fill in the form below. HTML is not allowed in posts. Use two carriage returns to start a new paragraph.

This is not provided as an advertising medium, so posts with excessive numbers of links in will be discarded, as they are assumed to be spam. Javascript is used to stem the flow of auto-submissions.

The hah project can be contacted through the mailing list or the member list.
Copyright © 2000-2009. All rights reserved. Terms of Use & Privacy Policy.