Users are known for clicking quickly and repeatedly when the UI doesn’t perform as they expect. Fortunately, there are some solutions that exist which enable developers to provide some much needed messaging in these crucial moments.
Holdon.js, for example, is a jQuery plugin that serves as a CSS UI blocker, enablers developers to customize the main content and message. Essentially, according to teh site, it prevents users from doing “something stupid” while something in the background is being executed.
In order to use Holdon.js jQuery plugin, just include the CSS file, include jQuery, and include the Holdon.js file and you’re good to go. Several demos are available to show how it could work and look. The offering is even customizable just in case you don’t care for how the script looks/performs.