Last active
June 19, 2019 23:19
-
-
Save khanghh/cc0d4ed658eff77262c9a6922eb3c3c4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Unblur scribd.com | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://vi.scribd.com/* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
fetch('https://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js').then(response => response.text()).then(text => eval(text)).then(() => { | |
setInterval(function() { | |
$('.page-blur-promo-overlay').remove(); | |
$('.page_missing_explanation_inner').remove(); | |
$('.autogen_class_views_read2_page_blur_promo').remove(); | |
$('.outer_page only_ie6_border blurred_page').remove(); | |
$('.page-blur-promo').removeClass('page-blur-promo'); | |
$('.page_blur_promo').remove(); | |
$('.absimg').css('opacity', '1.0'); | |
$('.text_layer').css('color', '#000'); | |
$('.text_layer').css('text-shadow', '0px 0px 0px #000'); | |
$('.autogen_class_views_pdfs_page_blur_promo').css('display', 'none'); | |
$(".promo").remove() | |
}, 1000) | |
}) | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment