Pornhub BlackList

pornhub blacklist

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला 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.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्क्रिप्ट व्यवस्थापक एक्स्टेंशन इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्क्रिप्ट व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्टाईल व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

// ==UserScript==
// @name         Pornhub BlackList
// @namespace    http://tampermonkey.net/
// @version      2025-8-3
// @description pornhub blacklist
// @author       You
// @match        https://www.pornhub.com/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=pornhub.com
// @grant        none
// @license MIT
// ==/UserScript==

(function() {
    'use strict';

    // Your code here...
    const titleBlackList = [
    "example"
];

    const creatorBlackList = [
    "example"
    ];

    const hideWatched = false;

    const arr = document.querySelectorAll(".thumbnailTitle");

    arr.forEach((div) => {
        let title = div.title.toLowerCase();
        if(title) {
            if (titleBlackList.some(word => title.includes(word.toLowerCase() ))) {
                div.parentNode.parentNode.parentNode.parentNode.parentNode.remove();
                return;
            }
        }

        let title2 = div.textContent.toLowerCase();
        if(title2) {
            if (titleBlackList.some(word => title2.includes(word.toLowerCase() ))) {
                div.parentNode.parentNode.parentNode.parentNode.parentNode.remove();
                }
        }
    })

    const arr2 = document.querySelectorAll(".usernameWrapper .usernameWrap a");

    arr2.forEach((div2) => {
        let creator = div2.text.toLowerCase();

        if (creator) {
            if(creatorBlackList.some(word => creator.includes(word.toLowerCase()))){
                div2.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.remove()
            }
        }
    })

    const arr3 = document.querySelectorAll(".uploaderLink");

    arr3.forEach((div3) => {
        let creator = div3.text.toLowerCase();

        if (creator) {
            if(creatorBlackList.some(word => creator.includes(word.toLowerCase()))){
                div3.parentNode.parentNode.parentNode.parentNode.parentNode.remove()
            }
        }
    })

    if (hideWatched) {
        const arr4 = document.querySelectorAll(".js-watchedVideoOverlay");
        arr4.forEach((div4) => {
            div4.parentNode.parentNode.parentNode.parentNode.remove();
        })

        const arr5 = document.querySelectorAll(".watchedVideo");
        arr5.forEach((div4) => {
            div4.parentNode.parentNode.parentNode.parentNode.parentNode.remove();
        })
    }

})();