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

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

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 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
})();