ChipPass

Bypasses Chip.gg GeoBlock

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         ChipPass
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  Bypasses Chip.gg GeoBlock
// @author       @officiallymelon
// @match        *://*.chips.gg/*
// @grant        none
// @license MIT
// ==/UserScript==

(function() {
    'use strict';

    // Function to remove elements based on the provided selectors
    function removeElements() {
        // Selector for the "Restricted Country" message
        // Get the element and remove it if it exists
        const restrictedCountryElement = document.querySelector('.sc-aXZVg.sc-gEvEer.sc-eqUAAy.sc-iGgWBj.fRzEiv.jOxjSs.dVSjCO');
        if (restrictedCountryElement) {
            restrictedCountryElement.remove();
            console.log('Removed "Restricted Country" element.');
        }

        // Additional selectors and elements can be added in a similar fashion
        // ...
    }

    // Run the function to remove elements
    removeElements();

    // If the page content is loaded dynamically, observe changes and apply the removal function
    const observer = new MutationObserver(removeElements);
    observer.observe(document.body, { childList: true, subtree: true });

})();