Remove unwanted results (incest edition)

2/9/2020, 8:42:09 PM

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

// ==UserScript==
// @name        Remove unwanted results (incest edition)
// @namespace   Violentmonkey Scripts
// @match       https://kufirc.com/torrents.php*
// @grant       none
// @version     1.0
// @author      WolfyD
// @description 2/9/2020, 8:42:09 PM
// ==/UserScript==


var lst = [ "family",
"stepfamily",
"step dad",
"step mom",
"step sister",
"step brother",
"step father",
"step mother",
"step family",
"step daughter",
"step son",
"step-dad",
"step-mom",
"step-sister",
"step-brother",
"step-father",
"step-mother",
"step-family",
"step-daughter",
"step-son",
"step.dad",
"step.mom",
"step.sister",
"step.brother",
"step.father",
"step.mother",
"step.family",
"step.daughter",
"step.son",
"stepdad",
"stepmom",
"stepsister",
"stepbrother",
"stepfather",
"stepmother",
"stepdaughter",
"stepson",
"dad",
"mom",
"sister",
"brother",
"father",
"mother",
"twin",
"sis",
"bro",
"families",
"grandpa",
"grandma",
"grandfather",
"grandmother",
"uncle",
"niece",
"incest",
"incest.roleplay",
"cousin" ];

window.addEventListener("load", start());

function start(){
	var interval = setInterval(1000, Myloop());
}

function Myloop(){
	for(var loop = 0; loop < 30; loop++){
		var torrents = document.getElementsByClassName("torrent");
		for(var i = 0; i < torrents.length; i++){
			var taglist = (torrents[i].innerText.toLowerCase().split(" "));
			
			for(var tag = 0; tag < taglist.length; tag++){
				var txt = taglist[tag].toLowerCase();
				if(lst.indexOf(txt) > -1){
					torrents[i].parentNode.removeChild(torrents[i]);
				}
			}
		}
	}
}