F95Zone +1 Blocker

Blocks those annoying +1 replies

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey, Greasemonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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!)

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.

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

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