Giter Site home page Giter Site logo

Comments (7)

justintadlock avatar justintadlock commented on July 20, 2024

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.

justintadlock avatar justintadlock commented on July 20, 2024

I'm also thinking something like this would work:

jQuery( '#th_rh_name' ).val( '' );

from registration-honeypot.

henrywright avatar henrywright commented on July 20, 2024

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.

justintadlock avatar justintadlock commented on July 20, 2024

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.

justintadlock avatar justintadlock commented on July 20, 2024

I just pushed those changes in. Can you let me know if that helps?

from registration-honeypot.

henrywright avatar henrywright commented on July 20, 2024

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.

justintadlock avatar justintadlock commented on July 20, 2024

Closing this as fixed.

from registration-honeypot.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.