您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
try to take over the world!
当前为
// ==UserScript== // @name E仲裁fix // @namespace http://tampermonkey.net/ // @version 0.1 // @description try to take over the world! // @author You // @include *://sz12333.gov.cn* // @grant unsafeWindow // ==/UserScript== (function() { 'use strict'; unsafeWindow.writeRequestItem = function(cez010,cee004,aaa146) { if(notSelf == 1){ mui.alert("您只能修改自己的信息"); }else{ if( "check_box" == $('span[onClick*='+cez010+']').attr('class') ) { // if("check_box" == $('#control'+cee004).attr('class')){ window.location.href= '/ldzcfw/pages/jsp/wxJt/addRequestItemJt1.jsp?cez010='+cez010+'&cez001='+cez001+'&aac001=' + aac001+'&cee004='+cee004+'&aaa146='+escape(encodeURI(aaa146))+'&isQrcode='+isQrcode; }else if("check_box1" == $('#control'+cee004).attr('class')){ deleteRequestItem(cez010,cee004); } } }; unsafeWindow.queryRequestItem = function(){ var param = "cez001="+cez001+"&cec037="+aac001; $.ajax({ url:'/ldzcfw/ldzc/f14010100/f14010101/queryRequestItemlistById', type: 'post', data: param, success:function(text){ var json = eval("("+text+")"); var vo = json.result[0]; var size =vo.requestItemsDto; count = size.length; if(size != null && size != "" && size != "undefined" && size != 0){ for (var i = 0; i < size.length; i++) { console.log(size[i].cez010); $('span[onClick*='+size[i].cez010+']').removeClass("check_box").addClass("check_box1"); //document.getElementById("control"+size[i].cee004).className = "check_box1"; } } }, error:function(e,f,g){ var json = eval("("+e,responseText+")"); alert(json.errors[0].msg); } }); }; // Your code here... })();