diff --git a/guanyierp/tools.user.js b/guanyierp/tools.user.js new file mode 100644 index 0000000..a0d058d --- /dev/null +++ b/guanyierp/tools.user.js @@ -0,0 +1,150 @@ +// ==UserScript== +// @name 管易小助手 +// @namespace http://tampermonkey.net/ +// @version 0.1 +// @description try to take over the world! +// @author MiaoWoo +// @match http*://www.guanyierp.com/** +// @icon https://www.google.com/s2/favicons?sz=64&domain=guanyierp.com +// @grant none +// ==/UserScript== + +(function () { + 'use strict' + let toolHtml = `管易小助手` + let tool = document.createElement("div") + tool.className = "flex flex-column flex-y-center justcenter hand tmall-time" + tool.innerHTML = toolHtml + document.querySelector('.help-center').parentNode.appendChild(tool) + tool.onclick = () => { + toolPage.className = toolPage.className ? '' : 'ant-popover-hidden' + } + + let toolPageHtml = ` + +