Enfocar scribd

Enfocar scribd, quitar difuminado y cartel de promo.

Від 20.05.2021. Дивіться остання версія.

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.

(У мене вже є менеджер скриптів, дайте мені встановити його!)

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         Enfocar scribd
// @namespace    http://tampermonkey.net/
// @version      0.4
// @description  Enfocar scribd, quitar difuminado y cartel de promo.
// @author       ArtEze
// @match        *://*.scribd.com/document/*
// @grant        none
// ==/UserScript==

window.enfocar_scribd = window.setInterval(function(){
    try{
        var i = 0
        Array.from(document.querySelectorAll(".promo")).map(function(x){x.remove();++i;})
        Array.from(document.querySelectorAll(".text_layer")).map(function(x){x.style["text-shadow"]="0px 0px 0px black";++i})
        if(i>0){
            window.clearInterval(window.enfocar_scribd)
            console.log("Removido")
        }
    }catch(e){
        console.log("No se pudo desenfocar",e)
    }
},1000)