您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
删除洛谷个人主页图片。
// ==UserScript== // @name 删除洛谷个人主页图片 // @namespace http://tampermonkey.net/ // @version remove.intro // @description 删除洛谷个人主页图片。 // @match https://www.luogu.com.cn/* // @license MIT // @grant none // ==/UserScript== (function() { 'use strict'; setInterval(() => { const currentUser = window.location.pathname.split('/').pop(); if (currentUser == '682739') { // 请自定义 const introductionElement = document.querySelector('div.introduction.marked[data-v-e5ad98f0][data-v-fe28b16c][data-v-f9624136]'); if (introductionElement) { const images = introductionElement.querySelectorAll('img'); images.forEach(img => img.remove()); } } }, 100); })();