Google and Twitter, just to name a couple, have code in their pages that detects slow page load times, and presents the user with a nice message. I would like to implement something similar, and before I dig in and try to reverse-engineer their implementations, I was wondering if there are any existing components thay may help achieve this goal. (my search-fu failed me)
Thanks!