3 ms·
my blog just does basically this in js: a = "cat" b = "dog" c = a + integer_to_string(234234) + b then you have to submit the c value with the form. i g
by xenophanes 13y ago
my blog just does basically this in js:
a = "cat"
b = "dog"
c = a + integer_to_string(234234) + b
then you have to submit the c value with the form. i get no spam. (a prior somewhat simpler did get some spam). obviously this would do nothing if i was google, but i'm a small blog and no one is going to customize a bot for me, and apparently none of the bots want to run a full js interpreter.
there are lots of simple solutions to spam as long as no one cares about you. and if they do care it's hard.
i do think making you do some math (maybe something serious that takes a quarter second to run) to be able to submit comments is a good approach in general though. basically humans have lots of spare CPU, but i'm not sure spam bots do currently. and if posting in a lot of places required running some math, it would rate limit spam bots.