scadalts


Which a library should I choose to replace default function “window.alert” not blocking main page [on hold]


Which a library should I choose to replace default function "window.alert"?
In case:
I think problem can be solved by override of windows.alert.
I override function windows.alert because:
There is a lot of existing code calling a simple alert method.
The user in the system can also enter the code in javascript with the alert function that starts on the page.
Default function alert blocks page (The page will refresh the data every few seconds).
I have five library js candidates:
For the date May 11, 2017
Library | Timeout option | Star on github | Topic on StackOverFlow | Instalator bower | size | AMD | Last commint
-------------- | -------------- | -------------- | ---------------------- | ---------------- | ---- | --- | ------------
SweetAlert2 | yes | 15,802 | 361 (1) 36(2) | ok --------- | 82k | ok | Dec 15, 2016
alertify.js | no | 4,332 | 69 | ? | 3k | ? | Apr 12, 2017
messenger | no | 3,897 | ? | ? | 19k | ? | Mar 8, 2016
humane.js | yes | 2,053 | ? | ok | 5k | ok | Aug 18, 2016
jGrowl | yes | 517 | 63 | ok | 5k | ? | Dec 21, 2016
AMD - Asynchronous module definition.
Sample code:
alert("messages");
window.alert = function(message) {
swal({
title: message,
text: "I will close in 6 seconds.",
timer: 6000,
showConfirmButton: true
});
}
alert("new alert work");
Plunker
I mean is the best choose is SweetAlert2.

Related Links

Which a library should I choose to replace default function “window.alert” not blocking main page [on hold]
How the new ScadaLTS UI communicates with tomcat?
ScadaLTS application does not start
RESTfull APIs for write in datapoint and datasource

Categories

HOME
machine-learning
scadalts
openerp
recaptcha
local-storage
encryption
jupyter-notebook
autodesk-forge
cakephp-3.0
boost
graph-algorithm
facebook-live-api
acr122
cordova-plugins
pymc
apache-spark-2.0
spring-transactions
postgis
slim
alexa-voice-service
photon
conv-neural-network
denial-of-service
biopython
visualvm
google-developers-console
xbuild
btrfs
eof
frama-c
provider
choropleth
puma
gmail-contextual-gadgets
opensaml
dos
smtpclient
fitnesse-slim
marytts
protactor
sw-precache
zlib
family-tree
wamp-protocol
android-datepicker
crypto++
smartmeter
prime-factoring
nosuchelementexception
use-case
windows-firewall-api
ch
ucp
mapfragment
little-endian
ionic-view
distinct-on
meter
bitarray
xlet
materialized-views
bpopup
soundex
ngen
allocation
enplug-sdk
zend-http-client
filefield
django-1.7
accessdatasource
data-sharing
bonjour
activator
resourcedictionary
nodejitsu
citrix-access-gateway
asp.net-compiler
mic-1
set-theory
xemacs
fibonacci-heap
winqual
dynamic-css
html-rendering
sqlmetal

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile