您需要先安装一个扩展,例如 篡改猴、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.3 // @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'; const buttonClicked = sessionStorage.getItem('buttonClicked'); if (!buttonClicked) { const newButton = document.createElement('button'); newButton.innerText = 'Click All Target Buttons'; newButton.style.position = 'fixed'; newButton.style.top = '10px'; newButton.style.right = '10px'; newButton.style.zIndex = 1000; newButton.style.padding = '10px'; newButton.style.backgroundColor = '#4CAF50'; newButton.style.color = 'white'; newButton.style.border = 'none'; newButton.style.borderRadius = '5px'; newButton.style.cursor = 'pointer'; 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(); window.scrollBy(0, window.innerHeight); // 한 칸 아래로 스크롤 setTimeout(() => { clickButtons(); // 다시 클릭 sessionStorage.setItem('buttonClicked', 'true'); setTimeout(() => { location.reload(); // 새로고침 }, 500); }, 500); }); document.body.appendChild(newButton); } })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址