0% found this document useful (0 votes)
189 views1 page

Script

This userscript removes popups and blurring from Scribd pages to uncover obscured text. It runs every second to find and remove elements with classes that blur or promote paid subscriptions, and sets the color of text-related classes to black and image opacity to 1 to unblur the page content.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
189 views1 page

Script

This userscript removes popups and blurring from Scribd pages to uncover obscured text. It runs every second to find and remove elements with classes that blur or promote paid subscriptions, and sets the color of text-related classes to black and image opacity to 1 to unblur the page content.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

// ==UserScript==

// @name Scribd Unblur


// @namespace http://tampermonkey.net/
// @version 0.1
// @description Removes the popups and unblurs the text <3
// @author cristimc8
// @match http*://*.scribd.com/*
// @grant none
// ==/UserScript==

(function() {
'use strict';
setInterval(function(){
var elements =
document.getElementsByClassName("auto__doc_page_webpack_doc_page_blur_promo");
while(elements.length > 0){
elements[0].parentNode.removeChild(elements[0]);
}
var elements1 = document.getElementsByClassName("promo");
while(elements1.length > 0){
elements1[0].parentNode.removeChild(elements1[0]);
}
var all = document.getElementsByClassName('a');
for (var i = 0; i < all.length; i++) {
all[i].style.color = 'black';
}
var allL = document.getElementsByClassName('l');
for (i = 0; i < allL.length; i++) {
allL[i].style.color = 'black';
}
var allImg = document.getElementsByClassName('absimg');
for (i = 0; i < allImg.length; i++) {
allImg[i].style.opacity = 1;
}
}, 1000);

})();

You might also like