Reddit NSFW Blur Remover

Remove NSFW blur.

As of 16.12.2023. See ბოლო ვერსია.

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     Reddit NSFW Blur Remover
// @version  2
// @grant    none
// @include https://www.reddit.com/r/*
// @description Remove NSFW blur.
// @license MIT
// @namespace https://greasyfork.org/users/803889
// ==/UserScript==
  

function topkek(){
  //un-blur all
  if (document.querySelectorAll('shreddit-blurred-container div') != null) {
  	Array.from(document.querySelectorAll('shreddit-blurred-container div')).forEach(button=>button.click())
  }
}


function junkRemoval(){
  //banner removal
  if (document.querySelector('shreddit-experience-tree').shadowRoot.querySelector('shreddit-async-loader').querySelector('xpromo-nsfw-bypassable-modal-desktop').shadowRoot.querySelector('#secondary-button span [class="flex items-center gap-xs"]') != null){
  	document.querySelector('shreddit-experience-tree').shadowRoot.querySelector('shreddit-async-loader').querySelector('xpromo-nsfw-bypassable-modal-desktop').shadowRoot.querySelector('#secondary-button span [class="flex items-center gap-xs"]').click()
  }
}


function junkRemoval2(){
//google removal
	if (document.querySelector('iframe') != null){
		document.querySelector('iframe').remove()
  }
}


setInterval(topkek, 3000)

setTimeout(junkRemoval, 2000)
setTimeout(junkRemoval2, 4000)