java - How can I make this script to pop up instead of alert -


how can convert code pop-up window instead of alert.

<script>  	var today = new date();  	var h = today.gethours();  	var m = today.getminutes();  	var c = today.getdate();  	var y = m - 14;  	z = checknegative(y, h);  	w = checktime(z[0]);  	x = checkzero(z[1]);    alert('security alert ' + geturlparameter('model') + '\nsomeone tried access your' + geturlparameter('model') + '\nat ' + x + ":" + w + ' from:\nip: 145.643.256\nkiev, ukraine, \n\nrecommended action: install anti-virus in order protect your' + geturlparameter('model'));  </script>

you can use bootstrap modal or bootstrap popover components use. if dont want use bootstrap due design, let me know.


Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

c# - Exception when attempting to modify Dictionary -