News for hackers. Stuff that matters.
Re:Countdown.js — super simple countdowns. by shantanubala on Tuesday September 17, 2013 @04:38PM (#6401802)
This would be perfect in conjunction with an "unload" event that triggers the countdown if the user decides to go to a different page on your web site. This way, the user doesn't have to stay on the page to make sure their actions are completed.

Instead of forcing the user to wait for the end of the countdown, you can use an "undo" button. Instead of actually undoing the operation, they would just be preventing it from happening in the first place.

Re:Countdown.js — super simple countdowns. by ceejayoz on Tuesday September 17, 2013 @04:33PM (#6401757)
This UI would leave me wondering if the deletion is going to go through if I close the page to do something else prior to the countdown completion.
Re:Countdown.js — super simple countdowns. by aggronn on Tuesday September 17, 2013 @04:37PM (#6401791)
maybe transitioning this to something more like "Are you sure? 3..2..1...", or implementing a counter in the backend as well, would be good ideas.
Re:Countdown.js — super simple countdowns. by byamit on Wednesday September 18, 2013 @11:24AM (#6405824)
It's interesting but how does it handle the case where the user navigates away before the counter hits 0?
Re:Countdown.js — super simple countdowns. by vezzy-fnord on Tuesday September 17, 2013 @04:49PM (#6401865)
This can be useful for more trivial actions, the consequences of which would be pretty minor for the user.

On the other hand for irreversible actions, as the authors put it (and ones more drastic than those mentioned here), a dialog, modal or otherwise, is perfectly warranted.

One more click hardly makes any difference in time, and it brings up a brief little moment for reconsideration in case the user doesn't immediately realize they're doing something potentially unwanted.