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.

Author
Evan Tseng
Daily installs
0
Total installs
1,569
Ratings
7 0 0
Version
1.14
Created
2019-10-29
Updated
2022-11-08
License
MIT
Applies to
All sites

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/