Greasy Fork is available in English.

图怪兽去水印教程插件珍藏版V240327

之前的图怪兽设计去水印珍藏版V231011插件失效了,现在已更新2024.03.27最新去除图怪兽设计水印的脚本.

// ==UserScript==
// @name         图怪兽去水印教程插件珍藏版V240327
// @namespace    https://greasyfork.org/en/users/1089045-tao-yan
// @version      4.0
// @description  之前的图怪兽设计去水印珍藏版V231011插件失效了,现在已更新2024.03.27最新去除图怪兽设计水印的脚本.
// @author       欢迎关注我的公众号jimeizy,本代码功能仅供个人学习交流研究,不得他用,否则后果自负,请支持网站原创版权。
// @match        https://ue.818ps.com/v4/?*
// @grant        unsafeWindow
// ==/UserScript==

(function() {
    'use strict';

    function checkAndRemoveWatermark() {
        const correctToken = "class";
        const imageUrl = 'https://mp.weixin.qq.com/s/m4RHHUBo3Y4GJqoT-sLWSw'; 
        const message = '❤关注公众号❤:jimeizy,回复关键词:TGGS,免费获取解锁口令↓输入';

        let userInput = prompt(message);

        if (userInput === null) {
            // 用户取消了操作,不进行任何处理
            return;
        }

        userInput = userInput.trim();

        if (userInput === correctToken) {
            GM_openInTab(imageUrl, true);
        } else {
            alert('关注公众号jimeizy回复TGGS获取口令。');
        }
    }

    window.addEventListener('load', () => {
        const button = document.createElement('button');
        button.textContent = '去水印教程';

         // 设置按钮样式
        button.style.position = 'fixed';
         button.style.color = 'white';
        button.style.top = '100px';
        button.style.right = '270px';
        button.style.zIndex = '99999';
        button.style.backgroundColor = 'blue';

        button.addEventListener('click', checkAndRemoveWatermark);

        document.body.appendChild(button);
    });
})();