Skip to content

Instantly share code, notes, and snippets.

@djrobby
Forked from khanghh/scribd-unblur.user.js
Created June 19, 2019 23:19
Show Gist options
  • Save djrobby/8271b1c5088696f3d9ecaa094030da2d to your computer and use it in GitHub Desktop.
Save djrobby/8271b1c5088696f3d9ecaa094030da2d to your computer and use it in GitHub Desktop.
// ==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