Monstercockland - remove view limit

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

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

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

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

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

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

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

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.

(I already have a user style manager, let me install it!)

// ==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;";
        }
    });
})();