Greasy Fork is available in English.

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.

Este script não deve ser instalado diretamente. Este script é uma biblioteca de outros scripts para incluir com o diretório meta // @require https://update.greasyfork.org/scripts/425166/957828/elegant%20alert%28%29%E5%BA%93.js

Autor
kakasearch e PYUDNG
Versão
1.07
Criado
17/04/2021
Atualizado
18/06/2021
Licença
N/A

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');