Monstercockland - remove view limit

Elimina una cookie específica para evitar el límite de carga por dirección IP

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

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

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

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.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name         Monstercockland - remove view limit
// @namespace    http://tampermonkey.net/
// @version      1.3
// @license      MIT
// @description  Elimina una cookie específica para evitar el límite de carga por dirección IP
// @match        https://monstercockland.com/*
// @run-at       document-start
// ==/UserScript==

(function() {
    'use strict';

    var cookiePrefix = "vids";

    var cookies = document.cookie.split(";");

    cookies.forEach(function(cookie) {
        var parts = cookie.split("=");
        var cookieName = parts[0].trim();

        if (cookieName.startsWith(cookiePrefix)) {
            // Borra la cookie en todos los posibles paths
            document.cookie = cookieName + "=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;";
            document.cookie = cookieName + "=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/; domain=monstercockland.com;";
        }
    });
})();