Comments (7)
Wouldn't an autocomplete only enter info into form fields that they actually recognize like name
, email
, etc.? Otherwise, they wouldn't be very good, would they?
from registration-honeypot.
I'm also thinking something like this would work:
jQuery( '#th_rh_name' ).val( '' );
from registration-honeypot.
Wouldn't an autocomplete only enter info into form fields that they actually recognize like name, email, etc.?
That's how I expected it to work but it doesn't seem to play nice. Disclaimer: I'm using Theme My Login but aside from that everything else is standard. WP 3.9.1. If I allow Chrome to remember login info after I've hit the login button, the honeypot field seems to be auto-filled on subsequent visits to the registration page. Clearing cookies does the trick but that isn't really a fix
jQuery( '#th_rh_name' ).val( '' );
would brute force an empty honeypot. My only thought would be when people have JS disabled
from registration-honeypot.
I can't reproduce this at all with Chrome Version 34.0.1847.131 m following the exact steps you've outlined. I've been running the basic version of this script for 2+ years on Theme Hybrid and have never had anyone tell me that they had a problem registering either.
My guess is that most users aren't logging into a site and then going to the registration form. Nevertheless, I'll add autocomplete="off"
. I'll also test out the JS solution and add if it works. As far as people with JS disabled are concerned, I stopped developing for them a few years ago. This already seems to be an edge case, so an edge case for a workaround on an edge case isn't much of a priority.
Out of curiosity, what is your autocomplete entering into the field?
from registration-honeypot.
I just pushed those changes in. Can you let me know if that helps?
from registration-honeypot.
Working great now. I think the JS may have solved it although I did update Chrome to the latest version (I was running 34.0.1847.116 m) so that may have had an effect.
Thanks for looking into it!
from registration-honeypot.
Closing this as fixed.
from registration-honeypot.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from registration-honeypot.