UNFUCK PORNHUB

hide videos containing certain words from showing up at recommendation and search result.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला 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        UNFUCK PORNHUB
// @namespace   make pornhub great again
// @match       *://*.pornhub.com/*
// @grant       none
// @version     1.1
// @author      Kvothe
// @description hide videos containing certain words from showing up at recommendation and search result.
// ==/UserScript==


// ADD WORDS YOU WANT TO BLOCK HERE
let addWords = ["", ""]; 

// THIS IS THE WORDS THAT IM BLOCKING
// JUST REMOVE WORDS YOU DON'T WANT TO BLOCK
let wordList = ["mistress", "femdom", "pegging", "pegged", "cd", "fag",
                "tranny", "tgirl", "ts", "hypno", "cuck", "faggot", "crossdresser",
                "transexual", "sissy", "ladyboy", "trans", "shemale"];

// DON'T EDIT BELOW
console.log('WORKING');

const searchRelatedList = document.querySelectorAll('.searchRelatedList a')
searchRelatedList.forEach(term => {
    const searchTerm = term.textContent.toLocaleLowerCase().trim().split(' ');
      arr.forEach(word => {
      if(searchTerm.includes(word.toLowerCase()) || searchTerm.includes(word.toLowerCase() + 's') && word != "") {
        term.parentElement.remove()
        console.log(`search suggestion removed => ${searchTerm.join(' ')} cuz it contains ==> ${word}`)
      }
    })
})

const titles = document.querySelectorAll('.videoBox .title a')
titles.forEach(title => {
    const titleContent = title.textContent.toLocaleLowerCase().trim().split(' ');
    // let eee = wordList.some(el => titleContent.includes(el))
    arr.forEach(word => {
      if(titleContent.includes(word.toLowerCase()) || titleContent.includes(word.toLowerCase() + 's') && word != "") {
        title.parentElement.parentElement.parentElement.parentElement.remove();
        console.log(`video removed => ${titleContent.join(' ')} cuz it contains ==> ${word}`)
      }
    })
});

// PLEASE REPORT ANY ISSUES OR BUGS
// AND READ "THE NAME OF THE WIND"
// REALLY GOOD BOOK)