/Clickcatcher

A proof of concept for delaying javascript events on page load.

Primary LanguageRuby

Clickcatcher proof of concept

Problem

If you add behaviour to links with javascript and the page is slow to load. Clicking on a link will break the page.

Solution

Put dangerous click events on hold until the document is fully loaded.

See a live demo at http://clickcatcher.heroku.com/.