Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
protonfish
on Oct 7, 2014
|
parent
|
context
|
favorite
| on:
A replacement for JavaScript's “alert”
Nice, but I have found the native implementations don't look as bad as they used to, especially on mobile web.
anton-107
on Oct 7, 2014
[–]
There is one gotcha with native/custom alert messages like these: native alerts block the ui thread of a browser, while custom do not. Sometimes you want to block and sometimes you don't. When you don't - you need something nice and simple.
protonfish
on Oct 7, 2014
|
parent
[–]
I think if you don't want block the UI thread you shouldn't be using alerts. That is the whole point of it.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: