您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
移除简书安装客户端弹窗
// ==UserScript== // @name 简书弹窗优化 // @namespace http://tampermonkey.net/ // @version 2024-04-12 // @description 移除简书安装客户端弹窗 // @author LingQi // @match *://www.jianshu.com/p/* // @icon https://www.google.com/s2/favicons?sz=64&domain=jianshu.com // @grant none // @license MIT // ==/UserScript== (function() { 'use strict'; // Your code here... setInterval(() => { if (document.body.hasAttribute("style")) { document.body.removeAttribute("style"); document.body.removeAttribute("class"); document.querySelector("body > div:nth-child(14) > div > div._23ISFX-mask").classList.add("_23ISFX-mask-hidden"); document.querySelector("body > div:nth-child(14) > div > div._23ISFX-wrap._23ISFX-wrap-middle").style.display = "none"; console.log(1); clearInterval(); } }, 100); window.onload = () => { } })();