后台
当前为
此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @require https://update.cn-greasyfork.org/scripts/469149/1212731/2-%E5%90%8E%E5%8F%B0.js
//已经显示后台后执行
function sgt_login_bg(){
切换用户()
$('#mainPanle').on('DOMNodeInserted',function(e) {
text=e.target.outerHTML
//如果检查到了订单管理
if (text.indexOf('src="/seq/SeqOrderList.aspx"')!=-1 ) {
var html=$('iframe[src="/seq/SeqOrderList.aspx"]')//订单管理页面
html.onload=f
function f(){
console.log(11)
}
//循环判断是否iframe显示完全
// t=setInterval(function (){
// var table_list=$('iframe[src="/seq/SeqOrderList.aspx"]').contents().find('#list').eq(0)
// if (table_list.length!=0){
// window.clearInterval(t)
// 订单管理(true)
// }
// },500);
}
});
}