Facebook is doing Ajax History (Back and Forward button) and Bookmark using #!
instead of just #
in the URL. Is it always a good idea to do that, because I was thinking that a usual anchor could interfere with the Ajax History mechanism to trigger it into processing a normal anchor.
So, the Ajax History function will only process a hash portion only when it sees #!
instead of just #
.
And is using !
compatible with major browsers? If Facebook is using !
, a guess is that it may be fairly well supported.
See Google's Making AJAX Applications Crawlable for a possible use case (don't know if this is why Facebook used this fragment).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With