F95Zone +1 Blocker

Blocks those annoying +1 replies

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

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

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

Advertisement:

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.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

Advertisement:

// ==UserScript==
// @name         F95Zone +1 Blocker
// @namespace    http://tampermonkey.net/
// @version      2026-04-29v2
// @description  Blocks those annoying +1 replies
// @author       equmaq
// @match        https://f95zone.to/threads/*/page-*
// @match        https://f95zone.to/threads/*/post-*
// @match        https://f95zone.to/threads/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=f95zone.to
// @license      GLP-2
// ==/UserScript==

(function() {
    'use strict';

    const regex = /^\s*\+?\s*\d+\s*$/;

    function clean() {
        document.querySelectorAll('.message').forEach(post => {
            const bb = post.querySelector('.bbWrapper');
            if (!bb) return;

            const text = bb.textContent.trim();

            if (regex.test(text)) {
                post.remove();
            }
        });
    }

    // initial run
    clean();

    // handle dynamically loaded posts
    const observer = new MutationObserver(() => clean());
    observer.observe(document.body, { childList: true, subtree: true });
})();