automatically bot youtube views with proxy

free youtube proxy viewbot

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name         automatically bot youtube views with proxy
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  free youtube proxy viewbot
// @author       fredtheceo
// @match        https://www.youtube.com/watch?v=vzSPvrBAd9U*
// @grant        GM_xmlhttpRequest
// @connect      * // Allow any domain for GM_xmlhttpRequest
// ==/UserScript==

(function() {
    'use strict';

    const refreshRate = 10; // seconds
    const viewCount = 5; // total number of views you want to simulate
    const proxyUrl = 'https://your-proxy-url.example.com'; // Replace with your proxy URL

    let counter = 0;

    function loadSession() {
        if (counter < viewCount) {
            console.log(`Viewing (${counter + 1}): ${window.location.href}`);
            counter++;

            // Make a request to the proxy instead of reloading the page directly
            GM_xmlhttpRequest({
                method: "GET",
                url: `${proxyUrl}?targetUrl=${encodeURIComponent(window.location.href)}`,
                onload: function(response) {
                    if (response.status === 200) {
                        console.log('View simulated through proxy.');
                    } else {
                        console.log('Failed to simulate view.');
                    }
                },
                onerror: function() {
                    console.log('Error connecting to proxy.');
                }
            });

            // Refresh the page after the set interval
            setTimeout(() => {
                window.location.reload();
            }, refreshRate * 1000); // convert seconds to milliseconds
        } else {
            console.log(`Completed ${viewCount} views.`);
        }
    }

    // Start the loading session
    loadSession();
})();