RateLimit Bypass

Bypass rate limits and automate tasks on kick.com

当前为 2024-05-14 提交的版本,查看 最新版本

// ==UserScript==
// @name         RateLimit Bypass
// @namespace    RishiSunak
// @version      0.1
// @description  Bypass rate limits and automate tasks on kick.com
// @author       b4k3d
// @match        https://kick.com/
// @grant        GM_xmlhttpRequest
// ==/UserScript==

(function() {
    'use strict';

    // Define your API endpoint and referer
    const apiUrl = 'https://kick.com/api/v2/messages/send/';
    const refererUrl = 'https://kick.com/nickwhite';

    // Function to send requests with IP rotation
    function sendRequest(chatId, emoteNumber) {
        const headers = {
            'Accept': 'application/json',
            'Content-Type': 'application/json',
            'Referer': refererUrl,
            // Add additional headers as needed
        };

        const jsonData = {
            'content': `[emote:${emoteNumber}:RishiBypass]`,
            'type': 'message'
        };

        // Use GM_xmlhttpRequest for cross-origin requests and IP rotation
        GM_xmlhttpRequest({
            method: 'POST',
            url: `${apiUrl}${chatId}`,
            headers: headers,
            data: JSON.stringify(jsonData),
            onload: function(response) {
                if (response.status === 200) {
                    console.log('Request sent successfully');
                } else {
                    console.error('Error sending request:', response.statusText);
                }
            },
            onerror: function(error) {
                console.error('Error sending request:', error);
            }
        });
    }

    // Function to retrieve chat ID and initiate actions
    function initActions() {
        // Retrieve chat ID from the website's API or DOM
        const chatId = 'YOUR_CHAT_ID'; // Replace with actual chat ID retrieval logic

        // Attach event listeners to emote buttons
        document.querySelectorAll('img[src*="/emotes/"]').forEach(emote => {
            emote.addEventListener('click', function(event) {
                event.preventDefault();
                const emoteNumber = event.target.src.match(/\/emotes\/(\d+)\/fullsize/)[1];
                sendRequest(chatId, emoteNumber);
            });
        });
    }

    // Wait for the page to load before initiating actions
    window.addEventListener('load', function() {
        initActions();
    });

})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址