AI tag 绘画管理器 Stable Diffusion 注入版

AI tag 绘画管理器 Stable Diffusion 注入版,不定时更新,希望使用的小伙伴及时提交bug

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         AI tag 绘画管理器 Stable Diffusion 注入版
// @namespace    http://tampermonkey.net/
// @version      0.402
// @description  AI tag 绘画管理器 Stable Diffusion 注入版,不定时更新,希望使用的小伙伴及时提交bug
// @author       izumikineno
// @license      MIT
// @match        http://*/*
// @icon         https://izumkineno.github.io/tag-model-manage/distMonkey/favicon.ico
// @grant        GM_xmlhttpRequest
// ==/UserScript==

(function() {
    'use strict';
    const js1 = 'https://izumkineno.github.io/tag-model-manage/distMonkey/js/app.js'
    const js2 = 'https://izumkineno.github.io/tag-model-manage/distMonkey/js/chunk-vendors.js'
    const css1 = 'https://izumkineno.github.io/tag-model-manage/distMonkey/css/app.css'
    const css2 = 'https://izumkineno.github.io/tag-model-manage/distMonkey/css/chunk-vendors.css'
    function jsLoad(url) {
        let script = document.createElement('script');
        script.setAttribute('type', 'text/javascript');
        script.src = url;
        document.documentElement.appendChild(script);
    }
    function cssLoad(url) {
        let script = document.createElement('link');
        script.setAttribute('rel', 'stylesheet');
        script.setAttribute('type', 'text/css');
        script.href = url;
        document.documentElement.appendChild(script);
    }
    window.addEventListener('load', (event) => {
        console.log('注入 loading')
        jsLoad(js1)
        jsLoad(js2)
        cssLoad(css1)
        cssLoad(css2)
    });
    function Request(d) {
        GM_xmlhttpRequest(d)
    }
    document.Request = Request
})();