deepfakes user remover

28/04/2022, 18:47:36

2022-04-28 يوللانغان نەشرى. ئەڭ يېڭى نەشرىنى كۆرۈش.

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        deepfakes user remover
// @namespace   deepfakes
// @match       https://kpopdeepfakes.net/
// @match       https://kpopdeepfakes.net/page/*
// @match       https://mrdeepfakes.com/
// @match       https://mrdeepfakes.com/videos
// @match       https://mrdeepfakes.com/videos*
// @grant       none
// @version     0.1
// @author      squonkldn
// @license     MIT
// @require     https://code.jquery.com/jquery-3.6.0.min.js
// @description 28/04/2022, 18:47:36
// @grant       GM_addStyle
// @grant       GM.addStyle
// @run-at      document-idle
// ==/UserScript==

/* This loads the complete 'minified' jQuery at the start, so you can add other functionality.
 *
 * Ensure that you list all the users you wish to block in the blockedIds field in this manner:
 * 
 * mrdeepfakes
 *   var mrdfcBlockedIds=[123456, 7890];
 * kpopdeepfakes
 *   var kpdfnBlockedIds=["user01", "user02", "user03"];
 * 
 * etc
*/

let listyPops;
let divyPop1;
let divyPop2;
var aHrfr="a[href$='user/";
var domainyKins=document.domain


/* Mr DeepFakes dot com - mrdfc */
var mrdfcBlockedIds=[];
var mrdfcListyPops=aHrfr+mrdfcBlockedIds.join("'],"+aHrfr)+"']";
var mrdfcDivyPop1="wrap"
var mrdfcDivyPop2="item"

/* KPop DeepFakes dot net - kpdfn */
var kpdfnBlockedIds=[];
var kpdfnListyPops=aHrfr+kpdfnBlockedIds.join("/'],"+aHrfr)+"/']";
var kpdfnDivyPop1="kd-username"
var kpdfnDivyPop2="kd-video-list-item"
/* */

if ( domainyKins == "mrdeepfakes.com" )  {
  listyPops=mrdfcListyPops;
  divyPop1=mrdfcDivyPop1;
  divyPop2=mrdfcDivyPop2;
} else if ( domainyKins == "kpopdeepfakes.net" )  {
  listyPops=kpdfnListyPops;
  divyPop1=kpdfnDivyPop1;
  divyPop2=kpdfnDivyPop2;
}

$("div."+divyPop1+" :is("+listyPops+")").closest("div."+divyPop2).remove ();