您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
2021/7/12下午8:37:13
// ==UserScript== // @name 超管单点 // @namespace lihuozi // @match *://*/admin/org/index // @grant none // @version 1.4.1 // @author 李豁子 // @description 2021/7/12下午8:37:13 // ==/UserScript== myFuncs = {}; myFuncs.init = function () { $(".datagrid-btable tr").each((i, el) => { console.log(i); var text = $(el).find('td:eq(2) div').html().split('(')[1]; var account = text.substring(0, text.length - 1); $(el).find('td:eq(2)').dblclick(function () { myFuncs.toPage(account); }); }); $(".searchbox-button").click(function () { console.log('onhaschange'); setTimeout("window.myFuncs.init()", 2000); }); $('.linkbutton-group').dblclick(function () { myFuncs.toPage('admin'); }); alert("附魔成功!"); }; myFuncs.toPage = function (account) { var settings = { "url": "/api/services/Org/UserLoginIntegrationByUserLoginName", "method": "POST", "timeout": 0, "headers": { "Content-Type": "application/json" }, "data": JSON.stringify({ "LoginName": account, "IPAddress": "127.0.0.1", "IntegrationKey": "46aa92ec-66af-4818-b7c1-8495a9bd7f17" }), }; $.ajax(settings).done(function (res) { console.log(res); var url = location.origin + '/index.html?token=' + res.data; window.open(url); }); }; (function () { 'use strict'; try { window.myFuncs = myFuncs; setTimeout("window.myFuncs.init()", 3000); } catch (err) { console.log(err); } })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址