letsmain / Pinterest&PINS加速自由畅享无限创意灵感!

// ==UserScript==
// @name         Pinterest&PINS加速自由畅享无限创意灵感!
// @namespace    Pinterest-Access-Assistant
// @version      1.0.9
// @description  让您能够自由浏览Pinterest&PINS,尽情探索无限的创意灵感,Pinterest是一个全球知名的创意灵感平台,汇集了来自世界各地的精美图片、设计、时尚、美食、旅行等各个领域的灵感和想法。然而,由于网络限制,访问Pinterest在某些地区可能受到限制。Pinterest自由访问脚本/绕过限制/创意灵感/自由浏览/无限创意/网络限制/图片分享平台/时尚设计/美食旅行,让您能够尽情浏览、搜索和保存您喜爱的图片和创意。
// @author       Pinterest-Access-Assistant
// @icon         data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAMAAAAJbSJIAAAAnFBMVEXmABn////lAADmABXmABLmAA7lAAvlAAb//P3+9/jwe4L97O7+9vf73+L85+n84+bsVl/61Nf5ys72sLb98PHrUFjzmqHnDiTzlp32trr3v8PoIzP1qrDqO0ftXWf0pavxi5LpLTruZ3DwgYn3vMLuaXL4x8vpMT7qQU3yj5b5z9L72dzzp6nzoKXuc3vviIznFynrSVPsUF3qP0rd255aAAASBElEQVR4nNVdaVvyOhANSTdWQVDECogLICoq7///bzcFgS4zyUzaqvd8u899pT1NMpnlZCIaP4Gou7kdDt/e3loJ3t/e7oZPy27zR54t6vzxaNR7uv7oL+QJYYLzf8ZfrZthd1Qr1doYtgfXrbVIaASeEgiUvyc6fX657EU1vUgtDC9uW1dj/eY+Si3L09PDGvx7nnTreJnKGUaX98nQEcmlhzOU4Wp7O6r6haplGN3OXNidB1P/8Xreq/SdKmQYPc30ZHNldx5LKVfvFY5kVQyjwVbTK8nuCD2Us0lVBrYahu33qZRlRy+DQI4fXyt5tyoYDrZj6VVJbw8lZf+2grcrz3C5q3j4zgjkal56spZlOJlWtvogeHJ8U9IVKMdw8in9Gvkl0JO1HMcyDG+nNSw/iGM4L8HRneGgX/v4nTnGkx9n2G7J8If4JfDk1+ZnGc5FXfYTQ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0hlRWmGej22xjLVOKldVZJUSdm39ui3owKGmtT74ixbrejWVV+OHy39emmohKFeeydjXslO4Um5m5RR+KdQEcMzyh+B0/TiG3KSwoqqGd7JsIwlVb6Ui5dKZucRVTNsTx5iRxlXwm58Na+UXqOGWaojyMFNP2Yq8RKVm7h6vOSF7yTUwDDBqPu+Xe9FebY5m4ycXnjPL5sa2CWoiWGCaPQ6v5/FB/lh6HuprqpKeX5w+B/jq8fr5cjUProkamR4RO9y8nbd6u/ixYlhvPi32368DZf1nMjM4D+szwxCS/onpgAAAABJRU5ErkJggg==
// @resource     logo data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAMAAAAJbSJIAAAAnFBMVEXmABn////lAADmABXmABLmAA7lAAvlAAb//P3+9/jwe4L97O7+9vf73+L85+n84+bsVl/61Nf5ys72sLb98PHrUFjzmqHnDiTzlp32trr3v8PoIzP1qrDqO0ftXWf0pavxi5LpLTruZ3DwgYn3vMLuaXL4x8vpMT7qQU3yj5b5z9L72dzzp6nzoKXuc3vviIznFynrSVPsUF3qP0rd255aAAASBElEQVR4nNVdaVvyOhANSTdWQVDECogLICoq7///bzcFgS4zyUzaqvd8u899pT1NMpnlZCIaP4Gou7kdDt/e3loJ3t/e7oZPy27zR54t6vzxaNR7uv7oL+QJYYLzf8ZfrZthd1Qr1doYtgfXrbVIaASeEgiUvyc6fX657EU1vUgtDC9uW1dj/eY+Si3L09PDGvx7nnTreJnKGUaX98nQEcmlhzOU4Wp7O6r6haplGN3OXNidB1P/8Xreq/SdKmQYPc30ZHNldx5LKVfvFY5kVQyjwVbTK8nuCD2Us0lVBrYahu33qZRlRy+DQI4fXyt5tyoYDrZj6VVJbw8lZf+2grcrz3C5q3j4zgjkal56spZlOJlWtvogeHJ8U9IVKMdw8in9Gvkl0JO1HMcyDG+nNSw/iGM4L8HRneGgX/v4nTnGkx9n2G7J8If4JfDk1+ZnGc5FXfYTQyBbbo6OE8PX6U/zSyDF8IcYRo8/tgCzUHLn4J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rejWVV+OHy39emmohKFeeydjXslO4Um5m5RR+KdQEcMzyh+B0/TiG3KSwoqqGd7JsIwlVb6Ui5dKZucRVTNsTx5iRxlXwm58Na+UXqOGWaojyMFNP2Yq8RKVm7h6vOSF7yTUwDDBqPu+Xe9FebY5m4ycXnjPL5sa2CWoiWGCaPQ6v5/FB/lh6HuprqpKeX5w+B/jq8fr5cjUProkamR4RO9y8nbd6u/ixYlhvPi32368DZf1nMjM4D+szwxCS/onpgAAAABJRU5ErkJggg==
// @require      http://cdn.staticfile.org/jquery/1.12.0/jquery.min.js
// @supportURL   http://letsmain.com/pinterest-access-master?utm_source=openuserjs
// @include      *://*.pinterest.com/*
// @match        *://www.pinterest.com/*
// @include      *://*.google.com/*
// @include      *://*.bing.com/*
// @include      *://*.yandex.com/*
// @include      *://*.duckduckgo.com/*
// @include      *://*.baidu.com/*
// @include      *://*.sogou.com/*
// @include      *://*.so.com/*
// @include      *://*.sm.cn/*
// @include      *://*.startpage.com/*
// @include      *://*.fsoufsou.com/*
// @include      *://*.deepl.com/*
// @grant        GM_getValue
// @grant        GM_setValue
// @grant        GM_download
// @grant        GM_addStyle
// @grant        GM_openInTab
// @grant        unsafeWindow
// @run-at       document-idle
// @run-at       document-start
// @grant        GM_setClipboard
// @grant        GM_getResourceURL
// @grant        GM_getResourceURL
// @grant        GM_getResourceText
// @grant        GM_xmlhttpRequest
// @compatible	 Chrome
// @compatible	 Edge
// @compatible	 Firefox
// @compatible	 Safari
// @compatible	 Opera
// @license      MIT
// ==/UserScript==

(function() {
    'use strict';
    var $ = window.jQuery;
    if (!$) {
        var script = document.createElement('script');
        script.src = 'https://code.jquery.com/jquery-3.6.1.min.js';
        document.head.appendChild(script);
        $ = window.jQuery;
    }
    var currentUrl = window.location.href;
    var currentHost = window.location.host;
    var resourceAnalysis = {};
    resourceAnalysis.addHtml = function() {
        var logoImgUrl = GM_getResourceURL('logo');
        var floatBoxHtml = '<div style="position:fixed;z-index:1076134;cursor:pointer;top:68px;left:0px;">' +
            '<div id="access-helper-wrap" style="width:136px;height:28px;line-height:28px;text-align:center;font-size:12px;color:#fff;background-color:#7C3AED;border:1px solid #7C3AED;border-left:none;border-top-right-radius:5px;border-bottom-right-radius:5px;">' +
            '<img src="' + logoImgUrl + '" style="width:20px;height:20px;position:relative;top:5px;" />&nbsp;Pinterest访问助手' +
            '</div>' +
            '<div id="access-helper-url-wrap" style="font-size:12px;padding:6px 4px;">' +
            '<a href="http://letsmain.com/pinterest-access-master?utm_source=greasyfork-recommend" target="_blank" style="color:#3b8cff;text-decoration:none">http://letsmain.com/pinterest-access-master</a>' +
            '</div>' +
            '</div>';
        $('body').append(floatBoxHtml);
        var defaultVipUrl = 'http://letsmain.com/pinterest-access-master?utm_source=greasyfork-recommend&invitation-code=#';
        $('body').on('click', '#access-helper-wrap', function() {
            defaultVipUrl = defaultVipUrl.replace(/#/g, encodeURIComponent(currentUrl));
            window.open(defaultVipUrl, '_blank');
        });
    };
    resourceAnalysis.init = function() {
        resourceAnalysis.addHtml();
    };
    resourceAnalysis.init();
    const options = {
        hookEvents: ["contextmenu", "select", "selectstart", "copy", "cut", "dragstart"],
        unhookEvents: ["mousedown", "mouseup", "keydown", "keyup"],
        doms: true,
        hookAddEventListener: true,
        hookPreventDefault: true,
        addCss: true,
        iframeSrc: "about:blank",
    };
    const shouldNotHook = (event) => !!event.closest("form");
    const clearEvents = () => {
        const targets = [
                document,
                document.body,
                ...document.getElementsByTagName("div"),
            ];
        const iframe = document.querySelector(`iframe[src="${options.iframeSrc}"]`);
        if (
            iframe &&
            iframe.clientWidth > 99 &&
            iframe.clientHeight > 11
        ) {
            targets.push(
                iframe.contentWindow.document,
                iframe.contentWindow.document.body
            );
        }
        for (const target of targets) {
            if (!target) continue;
            for (const eventType of options.hookEvents.concat(options.unhookEvents)) {
                const prop = "on" + eventType;
                target[prop] = null;
            }
        }
    };
    const hookEvents = (originalAddEventListener) => {
        const newAddEventListener = function (type, listener, options) {
            const useCapture =
                typeof options === "boolean" ? options : options && options.capture;
            if (!options.hookEvents.includes(type)) {
                originalAddEventListener.call(this, type, listener, useCapture);
            } else {
                originalAddEventListener.call(this, type, (e) => {
                    if (shouldNotHook(e) || !options.hookEvents.includes(e.type)) {
                    e.preventDefault();
                } else {
                    listener(e);
                }
            }, useCapture);
        }
    };
    EventTarget.prototype.addEventListener = newAddEventListener;
    document.addEventListener = newAddEventListener;
};
const hookPreventDefault = (originalPreventDefault, eventNames) => {
    Event.prototype.preventDefault = function () {
        if (shouldNotHook(this) || !eventNames.includes(this.type)) {
            originalPreventDefault.call(this);
        }
    };
};
const addCss = () => {
    GM_addStyle(`
    html, * {
        -webkit-user-select: text !important;
        -moz-user-select: text !important;
        user-select: text !important;
    }

::-moz-selection {
        color: #FFF!important;
        background: #3399FF!important;
    }

::selection {
        color: #FFF!important;
        background: #3399FF!important;
    }
  `);
};
const init = () => {
    if (options.doms) {
        setInterval(clearEvents, 9000);
        setTimeout(clearEvents, 1000);
        window.addEventListener("load", clearEvents, true);
    }
    if (options.hookAddEventListener) {
        hookEvents(EventTarget.prototype.addEventListener);
    }
    if (options.hookPreventDefault) {
        hookPreventDefault(
            Event.prototype.preventDefault,
            options.hookEvents.concat(options.unhookEvents)
        );
    }
    if (options.addCss) {
        addCss();
    }
};
init();
})();