您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Archives projects you love into a specific studio.
// ==UserScript== // @name Love Archiver // @namespace http://tampermonkey.net/ // @version 1.1 // @description Archives projects you love into a specific studio. // @author @TheUltimatum // @match https://scratch.mit.edu/projects/* // @grant none // ==/UserScript== (function() { 'use strict'; document.body.onload=function main() { var STUDIO="YOUR STUDIO NUMBER HERE!"; var heart=document.getElementById("love-this").children[1]; heart.onclick=function() { if (heart.className.toString() == "love icon") { $.ajax({type: "PUT",url: "https://scratch.mit.edu/site-api/projects/in/"+STUDIO+"/add/?pks="+document.location.pathname.split("/")[2]}); console.log("Added: https://scratch.mit.edu/projects"+document.location.pathname.split("/")[2]); } }; }; })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址