Edit AllPages
It should be pretty easy, but I can’t find any way how to do it in Cocoa. I don’t need to load an URL, but just to detect if a user is connected to internet or not.
http://www.cocoabuilder.com/archive/message/2003/2/25/90313
CheckingOnlineStatus