Skip to content

Instantly share code, notes, and snippets.

@douglasresende
Forked from djrobby/scribd-unblur.user.js
Last active February 16, 2024 21:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save douglasresende/a3175a63e081bf9723e986f8ee889ec9 to your computer and use it in GitHub Desktop.
Save douglasresende/a3175a63e081bf9723e986f8ee889ec9 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()
$(".promo_div").remove()
}, 1000)
})
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment