How to detect network requests from my computer?

Starting a new thread for this one…

IMHO this is beyond AppleScript’s ability.

Your script would have to monitor the network ports, which it can’t do.

There my be other applications that monitor the network and can invoke a script when activity is detected (Little Snitch, maybe?), but this is not something that AppleScript can do on its own.

Browser: Safari 523.1
Operating System: Mac OS X (10.5)