This is something I usually take care of by throttling the relevant event listeners (in an AJAXed site) but the way this article puts it makes me wonder if this is as easy as globally disabling double clicks on links and buttons: document.addEventListener('dblclick', event => { if (event.target.closest('a, input, button')) event.preventDefault() })
Doubleclicking on the Web (2015)
21–27 of 27 posts
Re: Doubleclicking on the Web (2015)
#22The proposed solution (an HTML attribute to 'allow' double-click submissions of s) is backwards from how the standard would be updated. The proposal should instead be for an attribute that prevents double-clicks, because that way browsers that have not implemented it still behave correctly. Additionally, you don't "break userspace" for millions of forms online that no longer work as the developer intended. However, I…
Re: Doubleclicking on the Web (2015)
#23I've actually heard people verbally use the word "doubleclick" to mean explore. For example, someone in a meeting might mention some idea. Then my colleague would say "let's doubleclick on that for a minute".
I'm going to start using that in my meetings, alongside "drill down", "circle back", and "take it offline". Office Space became a lot less funny when I started living it.
Unless you're a submarine, surface isn't a verb!
Re: Doubleclicking on the Web (2015)
#24I've actually heard people verbally use the word "doubleclick" to mean explore. For example, someone in a meeting might mention some idea. Then my colleague would say "let's doubleclick on that for a minute".
Re: Doubleclicking on the Web (2015)
#25If you want a better server-side solution, you could try employing mandatory idempotency tokens in the request payload. The concept is simple: either have the server give the client an idempotency token as part of the page load, or have the client request one at some point, or have it be something that can be generated on the client side (nonce style) and send it with the request. The server can then validate, using…
CSRF tokens solve this problem for free
Re: Doubleclicking on the Web (2015)
#26I've actually heard people verbally use the word "doubleclick" to mean explore. For example, someone in a meeting might mention some idea. Then my colleague would say "let's doubleclick on that for a minute".
Wow, that's truly awful.
Where I am people use "doubleclick" and "tripleclick" as nouns to represent specific levels of detail. As in, "I think we've got a good story for the doubleclick but I want to hear more about the tripleclick on Topic X."
Re: Doubleclicking on the Web (2015)
#27Earlier quoted context omitted.
I'm going to start using that in my meetings, alongside "drill down", "circle back", and "take it offline". Office Space became a lot less funny when I started living it.
My person pet peeve jargon is people who use surface in sentences like "what ideas does this surface?" Unless you're a submarine, surface isn't a verb!