Skip to content

Instantly share code, notes, and snippets.


Keybase proof

I hereby claim:

  • I am ldthorne on github.
  • I am ldthorne ( on keybase.
  • I have a public key ASA1H2NczG54UiKmOIOTqwAobXGjaw1TUS0yP7-BG4f2PQo

To claim this, I am signing this object:

ldthorne / Safari autofill bug.html
Created Apr 5, 2017
On safari 10.0.3, the first click event is consumed by Safari's autofill. Only on the second click is "Hello World" logged
View Safari autofill bug.html
<input name="email" />
<input name="name" />
document.querySelector('input[name="email"]').addEventListener('click', function(event) {
console.log('Hello World');