I'd like to ask if it's possible to user javascript to detect whether the
access failure to SSL protected pages is due to browser compactability or
firewall (or other reasons I don't know). Indeed my purpose is to return
different customized messages to users when they can't access the SSL protected
pages of my site.

Cheers,
Fiona.