Enfocar scribd

Enfocar scribd, quitar difuminado y cartel de promo.

Verze ze dne 20. 05. 2021. Zobrazit nejnovější verzi.

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==UserScript==
// @name         Enfocar scribd
// @namespace    http://tampermonkey.net/
// @version      0.5
// @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)
    }
},10000)