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.

Tento skript by neměl být instalován přímo. Jedná se o knihovnu, kterou by měly jiné skripty využívat pomocí meta příkazu // @require https://update.greasyfork.org/scripts/425166/957828/elegant%20alert%28%29%E5%BA%93.js

Autor
kakasearch a PYUDNG
Verze
1.07
Vytvořeno
17. 04. 2021
Aktualizováno
18. 06. 2021
Licence
neuvedeno

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