NZMsgBox

jQuery消息盒子NZMsgBox

Ezt a szkriptet nem ajánlott közvetlenül telepíteni. Ez egy könyvtár más szkriptek számára, amik tartalmazzák a // @require https://update.greasyfork.org/scripts/449562/1413239/NZMsgBox.js hivatkozást.

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

Fejlesztő
WhiteSevs
Verzió
0.0.1.20230601031422
Létrehozva
2022.08.15.
Frissítve
2023.06.01.
Size
70 KB
Licensz
Ismeretlen

NZMsgBox的解混淆并且合并了两个涉及的js,包括css内容

NZMsgBox简介

涉及的js和css资源

部分调用方式

//不带图标
$.NZ_MsgBox.alert({ 
    title: "yes!成功!"
    , content: "耶耶耶!成功!well done!"
    , type: ""
    , buttons: { 
        reverse: true, // 如果是confirm,底部按钮置反
        autoClose: false, // 禁止自动关闭
        confirm: { text: "好的" } 
    } 
});
//不带图标
$.NZ_MsgBox.alert({ 
    title: ""
    , content: "耶耶耶!成功!well done!"
    , type: ""
    , buttons: { 
        confirm: {text: "好的"} 
    } 
});
//成功
$.NZ_MsgBox.alert({ 
    title: "yes!成功!"
    , content: "耶耶耶!成功!well done!"
    , type: "success"
});
//警告
$.NZ_MsgBox.alert({
    title: "Warning!警告!"
    , content: "Warning!警告!well done!"
    , type: "warning"
});
//错误
$.NZ_MsgBox.alert({ 
    title: "Error!错误!"
    , content: "Error!错误!"
    , type: "error"
});
//超长内容
$.NZ_MsgBox.alert({
    title: "yes!成功!"
    , content: "他自己,自从到城里来,......"
});