markets / invisible_captcha

🍯 Unobtrusive and flexible spam protection for Rails apps
https://rubygems.org/gems/invisible_captcha
MIT License
1.15k stars 66 forks source link

Add tag_name option #101

Closed timcraft closed 3 years ago

timcraft commented 3 years ago

Adds a tag_name option for customising the outer content tag.

markets commented 3 years ago

Hello and thanks again @timcraft!

What is the use case behind this change? Why you need to use a different container for the honeypots, which anyway are hidden 🤔 ?

timcraft commented 3 years ago

It can make a difference visually when testing with visual_honeypots: true

And you could potentially look at differences in the form structure as a heuristic for detecting honeypots, although that's probably too much work for the average spambot 😆

markets commented 3 years ago

It can make a difference visually when testing with visual_honeypots: true

This is usually for testing purposes only, not sure if that's worth it for this reason

And you could potentially look at differences in the form structure as a heuristic for detecting honeypots

🤔 but that idea seems interesting