// ==UserScript== // @name 稿定设计|创客贴模板去水印 // @namespace https://www.qyccc.com/ // @version 0.10 // @description 用于稿定设计|创客贴去除模板水印 // @author 清语尘 // @match *://*.chuangkit.com/* // @match *://*.gaoding.com/* // @require https://lib.baomitu.com/jquery/1.11.1/jquery.min.js // @require https://greasyfork.org/scripts/455943-ajaxhooker/code/ajaxHooker.js?version=1124435 // @require https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/limonte-sweetalert2/11.4.4/sweetalert2.all.min.js // @icon https://photogallery.oss-cn-hangzhou.aliyuncs.com/photo/1111552255990557/53220d76cb7fa499a4bcd8b9717e9c7addf89.去水印.png // @grant none // @run-at document-start // @license MIT // @downloadURL none // ==/UserScript== (function() { 'use strict'; $(() => { const currentDomain = window.location.hostname; // 创客贴 if (currentDomain === 'chuangkit.com' || currentDomain.endsWith('.chuangkit.com')) { if (document.readyState === 'complete') { cktFunc(); } else { window.addEventListener('load', cktFunc); document.addEventListener('DOMContentLoaded', cktFunc); } return; } // 稿定 if (currentDomain === 'gaoding.com' || currentDomain.endsWith('.gaoding.com')) { gdFunc(); setTimeout(() => { qycNotify("center","success","去除水印成功,请手动截图保存!") },3000); return; } function cktFunc() { var qycbtn = '