MyTips

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

สคริปต์นี้ไม่ควรถูกติดตั้งโดยตรง มันเป็นคลังสำหรับสคริปต์อื่น ๆ เพื่อบรรจุด้วยคำสั่งเมทา // @require https://update.greasyfork.org/scripts/411517/851635/MyTips.js

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey, Greasemonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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!)

ผู้เขียน
wish king
เวอร์ชัน
0.1.2
สร้างเมื่อ
18-09-2020
อัปเดตเมื่อ
26-09-2020
Size
2.24 กิโลไบต์
สัญญาอนุญาต
ไม่มี

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