您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Moves the zoom button above the art
// ==UserScript== // @name Pixel Joint - Move zoom up // @namespace http://tampermonkey.net/ // @version 0.1 // @description Moves the zoom button above the art // @author erc2nd // @match https://pixeljoint.com/pixelart/* // @icon https://www.google.com/s2/favicons?sz=64&domain=pixeljoint.com // @license MIT // ==/UserScript== (function() { 'use strict'; const br = document.createElement("br"); br.classList.add("custom-br"); const imgHolder = document.querySelector(".img-holder"); const zoomBig = imgHolder.nextElementSibling; const smallimg = document.getElementById("smallimg"); const zoomSmall = document.querySelector("#smallimg ~ div:first-of-type"); zoomSmall.insertBefore(br, null); zoomBig.insertBefore(imgHolder, null); zoomSmall.insertBefore(smallimg, null); imgHolder.style.marginTop = "10px"; smallimg.style.marginTop = "10px"; })();