clickSuck icon indicating copy to clipboard operation
clickSuck copied to clipboard

Forces click events to fire on touch interactions. Affectionately named after working with IOS Safari

clickSuck

Click event not firing in IOS?

This totally fixes it.

How to use?

Include

<script src='../src/clickSuck.js'></script>

Initialize it in your own JavaScript:

clickSuck.init();

That's it.

Will Safari Ever fix their browser

I hope so. But I'll never get all that time spent debugging back.

Does it really work?

See a small Qunit test page on raw github.

400 bytes minified & gzipped