MyTips

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

Dette scriptet burde ikke installeres direkte. Det er et bibliotek for andre script å inkludere med det nye metadirektivet // @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!)

Forfatter
wish king
Versjon
0.1.2
Lagd
18.09.2020
Oppdatert
26.09.2020
Size
2,2 kB
Lisens
I/T

操作成功/失败提示框,样式仿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});