Sunday, April 5, 2009

Facebook funnies

An excerpt from a Facebook Javascript file: function URI(uri) { if (uri===window) { Util.error('what the hell are you doing'); return; } // ... Hah! I found this while trying to figure out how they do the smart Ajax urls (like http://example.com/page.html#/smart/path) and it seems they just check from time to time (about five times a second) if the document location has changed: Firebug FTW!

2 comments:

  1. You know I have been wondering how this worked out, but am just too lazy to try it out myself. Taking the risk of sounding like a big slacker, thanks for the help :D

    ReplyDelete
  2. such a wonderful blog the way you present is good Thanks for sharing
    Generic Viagra

    ReplyDelete