您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
在 greasyfork 自动安装插件
// ==UserScript== // @name 自动安装插件1 // @namespace http://tampermonkey.net/ // @version 1.2 // @description 在 greasyfork 自动安装插件 // @author AbsMatt // @match https://www.luogu.com.cn/paste/cgnaak1z // @match https://www.luogu.com/paste/cgnaak1z // @grant none // @license MIT // ==/UserScript== function syncSleep(time) { const start = new Date().getTime(); while (new Date().getTime() - start < time) {} } (function() { 'use strict'; alert("start"); for(let i=2;i<=100;i++){ window.open(document.querySelector("#app > div.main-container > main > div.full-container > div > div:nth-child(1) > div.marked > p:nth-child("+i.toString()+")").textContent,"_blank"); window.open(document.querySelector("#app > div.main-container > main > div > div > div:nth-child(1) > div.marked > p:nth-child("+i.toString()+")").textContent,"_blank"); console.log("finish "+i); syncSleep(500); } alert("finish"); })();