NZMsgBox

jQuery消息盒子NZMsgBox

目前為 2022-08-15 提交的版本,檢視 最新版本

此腳本不應該直接安裝,它是一個供其他腳本使用的函式庫。欲使用本函式庫,請在腳本 metadata 寫上: // @require https://update.cn-greasyfork.org/scripts/449562/1081522/NZMsgBox.js

作者
WhiteSevs
版本
0.0.1.20220815014346
建立日期
2022-08-15
更新日期
2022-08-15
尺寸
64.4 KB
授權條款
未知

NZMsgBox的解混淆合并脚本,包括css内容,调用方式从$.NZ_MsgBox改为了$jq.NZ_MsgBox

NZMsgBox简介

涉及的js和css资源

修改的调用方式,与原版有一点区别,改一下就行了

//不带图标
$jq.NZ_MsgBox.alert({ 
    title: "yes!成功!"
    , content: "耶耶耶!成功!well done!"
    , type: ""
    , buttons: { 
        confirm: { text: "好的" } 
    } 
});
//不带图标
$jq.NZ_MsgBox.alert({ 
    title: ""
    , content: "耶耶耶!成功!well done!"
    , type: ""
    , buttons: { 
        confirm: {text: "好的"} 
    } 
});
//成功
$jq.NZ_MsgBox.alert({ 
    title: "yes!成功!"
    , content: "耶耶耶!成功!well done!"
    , type: "success"
});
//警告
$jq.NZ_MsgBox.alert({
    title: "Warning!警告!"
    , content: "Warning!警告!well done!"
    , type: "warning"
});
//错误
$jq.NZ_MsgBox.alert({ 
    title: "Error!错误!"
    , content: "Error!错误!"
    , type: "error"
});
//超长内容
$jq.NZ_MsgBox.alert({
    title: "yes!成功!"
    , content: "他自己,自从到城里来,......"
});