您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
去文心一言水印、去超时弹窗、去AI画图水印
当前为
// ==UserScript== // @name 百度文心一言去水印 // @namespace http://tampermonkey.net/ // @version 0.9 // @description 去文心一言水印、去超时弹窗、去AI画图水印 // @author 夜雨 // @match https://yiyan.baidu.com/* // @icon https://www.google.com/s2/favicons?sz=64&domain=baidu.com // @grant none // @license MIT // ==/UserScript== (function() { 'use strict'; var clearWater = function() { if (document.querySelector('div[style^="pointer-events"]')) { // document.querySelector('div[style^="pointer-events"]').setAttribute("style", "display:none"); } } try { MutationObserver.prototype.observe = function(target, options) { console.log("Hook MutationObserver observe") clearWater(); } } catch (e) {} try { WebKitMutationObserver.prototype.observe = function(target, options) { console.log("Hook WebKitMutationObserver observe") clearWater(); } } catch (e) {} try { MozMutationObserver.prototype.observe = function(target, options) { console.log("Hook MozMutationObserver observe") clearWater(); } } catch (e) {} //去超时弹窗。去AI画图水印 setInterval(() => { if (document.querySelector(".ant-modal-root")) { document.querySelectorAll(".ant-modal-root").forEach(item => { item.remove() }) } if (document.querySelector("img")) { document.querySelectorAll("img").forEach(item => { try { let imgUrl = item.getAttribute("src") if (imgUrl.indexOf("wm_ai") > -1) { item.setAttribute("src", imgUrl.replace(/style\/wm_ai/, "")) } } catch (e) { //TODO handle the exception } }) } }, 2000) // Your code here... })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址