[whatwg] hashchange only dispatched in history traversal

Kristof Zelechovski giecrilj at stegny.2a.pl
Wed Sep 10 02:41:49 PDT 2008

I think the main problem here is that we want to package two different
functions into one event.  The legitimate use of hash change where it is
used to reveal a bookmark should trigger an event named "reveal" dispatched
to the target anchor and bubbling, where the handler for the Window object
can be specified as BODY[onreveal].  The AJAX abuse where it is used to
change the context of the page, whereas it can be determined when no
corresponding target anchor can be found, should trigger the hash change
notification broadcast to every object of the active document that registers
for it by declaring a handler.  Does this make sense?

More information about the whatwg mailing list