Greasy Fork

Greasy Fork is available in English.

2-后台

后台

当前为 2023-06-30 提交的版本,查看 最新版本

此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @require https://update.greasyfork.icu/scripts/469149/1213402/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"]').get(0)//订单管理页面
			html.onload=function(){
				window.setTimeout(function (){
				    订单管理()
				},3000);
			}
		}
		//如果检查到了测序样品
		if (text.indexOf('src="/seq/SeqSampleList.aspx"')!=-1 ) {
			var html=$('iframe[src="/seq/SeqSampleList.aspx"]').get(0)//测序样品页面
			html.onload=function(){
				window.setTimeout(function (){
				    测序样品()
				},3000);
			}
		}
	});
}