elegant alert()库

Customized alert box at the top right corner, auto close in a few seconds. Click on the alert box will close it immediately and copy the alert message to clipboard.

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://update.greasyfork.org/scripts/425166/957828/elegant%20alert%28%29%E5%BA%93.js

نووسەر
kakasearch and PYUDNG
وەشان
1.07
Created
2021-04-17
Updated
2021-06-18
مۆڵەت
نییە

We have authorized to use the code of this script
我们已获得原作者授权

优雅的 alert()库版本,基于原作者Evan Tseng的脚本修改,权利归原作者所有
此库不拦截alert,可以自定义传入数据当一个会自动消失的提示框用
使用说明:
先引入库
// @require https://greasyfork.org/scripts/425166-elegant-alert-%E5%BA%93/code/elegant%20alert()%E5%BA%93.js?version=922763
输出test
new ElegantAlertBox('test');