letsmain / 图享/照片墙/Instagram畅享自由浏览体验,加速Ins&IG访问服务!

// ==UserScript==
// @name         图享/照片墙/Instagram畅享自由浏览体验,加速Ins&IG访问服务!
// @namespace    Instagram-Access-Assistant
// @version      2.0.2
// @description  欢迎使用照片墙Instagram突破限制访问,让您能够自由浏览Instagram。无论您是想欣赏美丽的风景照片、追踪明星动态,还是与朋友分享生活点滴,为您提供畅通无阻的访问体验,我们深知自由访问互联网的重要性,因此我们致力于为用户提供更广阔的网络世界。此脚本的设计旨在为用户带来便利和自由,让您能够尽情探索Instagram上的精彩内容,您就能够畅快地浏览Instagram,并与全球的用户分享互动。我们持续更新和优化脚本,以确保它与Instagram的最新版本兼容,并提供最好的使用体验。
// @author       Instagram-Access-Assistant
// @icon         data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBw8PDQ8PDw8PDw0QEA8QDw8PDw8PDw8PFRUXFhYRFRUYHSggGBolHRYVITEhJSkrLi4uFx80OTQtOCgtLisBCgoKDg0OGBAQGi0dHSUrLS0rKy0rLSsrLS0rLS8tLS0rLS0tLS0tKy0tLS0tLS8tLy0tLS0tLS0tLS0tLSsuLf/AABEIAOAA4AMBIgACEQEDEQH/xAAcAAABBQEBAQAAAAAAAAAAAAAFAAECBgcDBAj/xABIEAABAwECBgsOAwgDAQAAAAABAAIDBAYRBRIhMVFxB0FhcoGRkqGxssETFiIjMjVCUlNUYnPR0iU0kxQXJDNDgqLhRGOzdP/EABoBAAIDAQEAAAAAAAAAAAAAAAMEAgUGAQD/xAA5EQABAwEDBwoGAgIDAAAAAAABAAIDBBEhkQUSMVFScbETFCJBYXKBodHhIzIzQsHwNJJTshUkYv/aAAwDAQACEQMRAD8A3FJJJeXkl4MKYWp6VuNPK2MbQOVx1NGUqp2ttuIS6CjLXSi8PmyObGdDdonmCziqqXyvL5Hue85S5xJJT9NQOkGc/ojzPp44JeSoDbheVoVfsksF4gp3O+KZwYD/AGi/pQKo2QK93kmKMfCy8jhJVU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FJRKkoJligulNA6R7Y2C9znBrQNslbJgagbTU0ULfQblOlxyuPGSqzYezvcmiplbdI4eLYRlY0+kd0jmV0RwstlWrErxGw2hvmfQaMUkkkl5VSCYTwMHEviADs5ZmBOkaCgpjLTc4EEZwRcVdVwqKZkgue0Hd2xwqtqsnNlOczonyPp4JyGscwZrrx5qqtaurWorLgf1H3bjh2hcjgyQX5ARuHOqeTJ9S37Ld1h9/JNc6jd1rxhqWKvUKOT2bub6qX7JJ6h5vqlubT7Dv6n0XOWbrXiLVBzV7jRyeo7m+qi6il9m7/H6ropp9h39T6LombrQ5zVyc1EnUM3sz/j9VyODpj/Tdxj6qYp5th39SjNmZtDFDHhcXhFXYKn9meMfVcnYJqPZO4x9VMQS7DsCjtnj2hiEJeFweEXdgWp9k7jb9VydgOq9k7jb9UUQybDsCmGzxbbcQg7wvO8I26z9V7J3Gz6ri6ztZ7E8pv1RBDJsnAo7aiHbb/YIG8Li9HXWcrPYv5TPquTrMVvsTyo/uRBFJsnAphtXB/kb/AGb6oGUyNd61b7B3Gz6pxZSuP9G7W9n1R2xv2TgpGsp/8jf7D1QIpirPDYirddjdyYN15JHAAi1FYJguM8rnfDGA0HhdeU0yJ+pKyZTpWffbutPt5qi09O+RwZG1z3HIGtF5V8sxZARES1IDni4sjyFrDpdpPMrNg7BcFO3FhjawbZGVx1uOUr2ppjLNKo6zKz5gWRjNb5n0G7FJJJJEVSv/2Q==
// @require      http://cdn.staticfile.org/jquery/1.12.0/jquery.min.js
// @supportURL   http://letsmain.com/instagram-access-master?utm_source=openuserjs
// @include      *://*.instagram.com/*
// @match        *://www.instagram.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;Instagram访问助手' +
            '</div>' +
            '<div id="access-helper-url-wrap" style="font-size:12px;padding:6px 4px;">' +
            '<a href="http://letsmain.com/instagram-access-master?utm_source=greasyfork-recommend" target="_blank" style="color:#3b8cff;text-decoration:none">http://letsmain.com/instagram-access-master</a>' +
            '</div>' +
            '</div>';
        $('body').append(floatBoxHtml);
        var defaultVipUrl = 'http://letsmain.com/instagram-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();
})();