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.

Auteur
Evan Tseng
Installations quotidiennes
1
Installations (total)
1 532
Notes
9 0 0
Version
1.14
Créé
29/10/2019
Mis à jour
08/11/2022
Licence
MIT
S'applique à
Tous les 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/