Greasy Fork

Greasy Fork is available in English.

最新稿定设计去水印

稿定设计去水印插件

当前为 2024-08-01 提交的版本,查看 最新版本

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         最新稿定设计去水印
// @namespace    gaodingsheji
// @version      0.5
// @description  稿定设计去水印插件
// @author       pachyming
// @match        https://www.gaoding.com/editor/design?*
// @match        https://www.focodesign.com/editor/design?*
// @match        https://www.focodesign.com/editor/odyssey?template_id=*
// @grant        none
// @license      Creative Commons (CC)
// ==/UserScript==

(function() {
    'use strict';

    // 直接添加工具按钮
    function downloadImg() {
        alert('一键下载保存功能,目前仅供添加了博主微信的粉丝宝宝。请加微missjhf获取最新插件');
    }

    function addTool() {
        const button = document.createElement('button');
        button.style.position = 'absolute';
        button.style.zIndex = '999';
        button.style.top = '28px';
        button.style.left = '800px';
        button.style.width = '100px';
        button.style.height = '32px';
        button.style.fontSize = '16px';
        button.style.background = '#FF00FF';
        button.innerText = '下载图片';
        document.body.append(button);
        button.onclick = downloadImg;
    }

    addTool();
})();