Probably I'm the only one who comes up with all sorts of crazy ideas in a completely inappropriate place. Today, sitting fishing with a skein of fishing line in my teeth, I came up with another way to protect against spam. That's enough retreat :)
Idea
< style type ="text/css" > <br> .none { display: none; }<br> </ style > <br><br> < form action ="" method ="post" > <br> :<br> <!-- Are you human or bot? --> <br> < em class ="none" > & #100; </ em > <br> <!-- This is only salt --> <br> < em > & #102; </ em > <br> < em > & #055; </ em > <br> < em class ="none" > & #102; </ em > <br> < em > & #098; </ em > <br> <!-- This is only salt --> <br> < em > & #051; </ em > <br> < em class ="none" > & #048; </ em > <br> < em > & #100; </ em > <br> <!-- This is only salt --> <br> < em > & #099; </ em > <br> <!-- This is only salt --> <br> < input type ="text" name ="stop-spam" /> <br> < input type ="submit" /> <br> </ form > <br><br> * This source code was highlighted with Source Code Highlighter .
I think the essence of the idea is clear - the user is displayed a verification message with a code that he can just copy in the input field. All characters randomly interfere with "noise" with display: none, thus complicating the bot's task of decryption. ')
Pros:
Works with javascript disabled
Works even with disabled images
Conveniently. It is enough just to copy the code in the input field.
It is clear that using such a method on a large project is the height of stupidity, but for a small blog the method is quite effective, especially due to its non-prevalence (at least I have never met anywhere) .