您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Add a button to auto-click specific buttons on Civitai images page, scroll, click again, and refresh the page
当前为
// ==UserScript== // @name Civitai Auto Clicker with Scroll and Refresh // @namespace http://tampermonkey.net/ // @version 0.8 // @description Add a button to auto-click specific buttons on Civitai images page, scroll, click again, and refresh the page // @author Your Name // @match https://civitai.com/images // @grant none // ==/UserScript== (function() { 'use strict'; window.addEventListener('load', function() { const panel = document.querySelector('#main > div > div > footer > div.relative.flex.h-\\[var\\(--footer-height\\)\\].w-full.items-center.gap-2.overflow-x-auto.bg-gray-0.p-1.px-2.\\@sm\\:gap-3.dark\\:bg-dark-7.border-t.border-gray-3.dark\\:border-dark-4 > div.mantine-Group-root.mantine-1msv4yg'); if (panel) { const newButton = document.createElement('button'); newButton.innerText = 'Click All'; newButton.style.padding = '5px 10px'; newButton.style.backgroundColor = '#4CAF50'; newButton.style.color = 'white'; newButton.style.border = 'none'; newButton.style.borderRadius = '4px'; newButton.style.cursor = 'pointer'; newButton.style.fontSize = '12px'; const clickButtons = () => { document.querySelectorAll('button').forEach(button => { if (button.closest('div.absolute.inset-x-1.bottom-1.flex.items-center.justify-between.gap-1')) { button.click(); } }); }; newButton.addEventListener('click', function() { clickButtons(); setTimeout(() => { window.scrollBy(0, window.innerHeight); setTimeout(() => { clickButtons(); setTimeout(() => { location.reload(); }, 500); }, 500); }, 500); }); panel.style.display = 'flex'; panel.style.justifyContent = 'center'; panel.appendChild(newButton); } }); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址