News for hackers. Stuff that matters.
Re:Modern Web Applications are Here by euroclydon on Tuesday November 15, 2011 @08:35AM (#3238119)
Is this phrased accurately?

The framework then hooks into your browser's navigation code an intercepts all page loads. Instead of letting the browser replace the page with something new on load it instead does the HTTP request via Ajax and adds an additional header to the HTTP request: X-Ajax-Navigation.

Wouldn't it be better to intercept the page leave event, rather than load?

Re:Modern Web Applications are Here by stdbrouw on Tuesday November 15, 2011 @11:19AM (#3238724)
I figure it probably just intercepts all click events, which usually trigger loads, hence "intercepting page loads".