ProcessOn-Vip-SVG-水印-PDF

ProcessOn文件导出支持,支持全部Vip功能,包括自定义水印,高清PDF等,有查看权限即可导出,在文件查看页面点击导出,列表页中导出暂不完全支持

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name         ProcessOn-Vip-SVG-水印-PDF
// @namespace    http://tampermonkey.net/
// @license      WTFPL
// @author       dongye
// @description  ProcessOn文件导出支持,支持全部Vip功能,包括自定义水印,高清PDF等,有查看权限即可导出,在文件查看页面点击导出,列表页中导出暂不完全支持
// @version      2025.01.01
// @include      *://www.processon.com/mindmap/*
// @include      *://www.processon.com/diagraming/*
// @include      *://www.processon.com/outline/*
// @grant        none
// @run-at       document-end
// ==/UserScript==

(function () {
  'use strict';

  const intervalPoEditorInsertId = setInterval(function () {
    if (window.PoEditorInsert) {

      clearInterval(intervalPoEditorInsertId);

      window.PoEditorInsert.isMemberPayType = [];
      window.PoEditorInsert.isMember = true;
      window.PoEditorInsert.isMemberOrNo = () => { return Promise.resolve(true);};
    }
  }, 100);
})();