elegant alert()

Display a non-blocking alert box at the top right corner, and automatically close after a few seconds. Click on the alert box will close it immediately and copy the alert message to clipboard.

نووسەر
Evan Tseng
Daily installs
0
Total installs
1,531
Ratings
9 0 0
وەشان
1.14
Created
2019-10-29
Updated
2022-11-08
مۆڵەت
MIT
Applies to
هەموو سایتەکان

This script displays non-blocking alert messages at the top right corner of page. Each message appears for seconds and then disappears automatically. Click on a message box will close it immediately and copy the message to clipboard.

Demo: https://jsfiddle.net/qjkgxoab/