View Single Post
Old 02-03-2013, 04:26 AM   PM User | #2
Old Pedant
Supreme Master coder!

 
Old Pedant's Avatar
 
Join Date: Feb 2009
Posts: 23,556
Thanks: 62
Thanked 4,055 Times in 4,024 Posts
Old Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to all
Even if JavaScript could do that, it would be useless if a violator simply turned off JavaScript in his/her browser.

And, really, any domain that is hacking your site and/or doing a Denial Of Service attack is not going to be using a browser, anyway.

No, you don't want to even think about JS for this.
__________________
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
Old Pedant is offline   Reply With Quote