Monstercockland - remove view limit

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

You will need to install an extension such as Tampermonkey, Greasemonkey 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 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.

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

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

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