☰

No-limit Sextb.cc

Allows you to bypass the two-video limit for users with an ad blocker on the site https://sextb.cc

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

// ==UserScript==
// @name         No-limit Sextb.cc
// @namespace    http://tampermonkey.net/
// @version      1.1
// @description   Allows you to bypass the two-video limit for users with an ad blocker on the site https://sextb.cc
// @match        *://*.sextb.cc/*
// @match        *://sextb.cc/*
// @run-at       document-start
// @grant        none
// @license      MIT
// ==/UserScript==

(function () {
  "use strict";

  const clearQuotaKey = () => {
    try {
      localStorage.removeItem("sxabFree");
    } catch (_) {
      // Ignore if access to localStorage is restricted
    }
  };

  clearQuotaKey();

  const origSetItem = Storage.prototype.setItem;
  Storage.prototype.setItem = function (key, value) {
    if (this === localStorage && key === "sxabFree") {
      return;
    }
    return origSetItem.apply(this, arguments);
  };
})();