// ==UserScript== // @name 稿定设计去水印1.9.1 // @namespace https://scriptcat.org/zh-CN/script-show-page/5786 // @version 1.9.1 // @author 原作者 LENG_Y ;修改 公众号【爱吃馍】 // @description 花瓣搞定设计在线编辑去水印 // @match https://www.gaoding.com/editor/design?* // @match https://www.huaban.com/editor/design?* // @match https://www.focodesign.com/editor/design?* // @match https://www.focodesign.com/editor/odyssey?template_id=* // @grant unsafeWindow // ==/UserScript== (function() { 'use strict'; // 保存原始函数 const originalCreateObjectURL = URL.createObjectURL; // 拦截 Blob 请求 URL.createObjectURL = function(blob) { return "blob:null"; // return originalCreateObjectURL(blob); }; // 恢复原始功能 window.addEventListener("load", () => { setTimeout(() => { URL.createObjectURL = originalCreateObjectURL; }, 5000); }); })(); var checkInterval = 800; var intervalId = setInterval(function() { var exportImg = document.querySelector('.dc-header__export-actions'); if (exportImg) { clearInterval(intervalId); // 创建“清屏”按钮 var clearScreenNode = document.createElement("div"); clearScreenNode.className = "dc-header__clear-screen"; clearScreenNode.innerHTML = `