History API[1]? :) If History API is being used alongside with alanh's method, that would eliminate the links in the wild problem. Flickr's lightbox view[2] is using this method for its AJAX viewing.
The biggest holdback is Internet Explorer, though. (Well, just like almost everything else.)