MyTips

操作成功/失败提示框,样式仿bootstrap

Detta skript bör inte installeras direkt. Det är ett bibliotek för andra skript att inkludera med meta-direktivet // @require https://update.greasyfork.org/scripts/411517/851635/MyTips.js

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Upphovsman
wish king
Version
0.1.2
Skapad
2020-09-18
Uppdaterad
2020-09-26
Size
2,24 KB
Licens
N/A

操作成功/失败提示框,样式仿bootstrap

代码调用:

1. 引用js
// @require https://greasyfork.org/scripts/411517-mytips/code/MyTips.js?version=851634

2. 调用代码,如:
MyTips.sucessTips("执行成功");
MyTips.errorTips("执行失败");
MyTips.errorTips("执行失败", 30000, {left:10}, {width:500});