Skip to content

Instantly share code, notes, and snippets.

@kc135576
Last active November 28, 2022 16:04
Show Gist options
  • Save kc135576/f8dabbf4317f19975cdb to your computer and use it in GitHub Desktop.
Save kc135576/f8dabbf4317f19975cdb to your computer and use it in GitHub Desktop.
Scribd Unblurrer
/* Author: Kenneth Chan (@cub01d)
Title: Scribd Unblurrer
Version: 0.4
Description: JQuery snippet to unblur the Scribd pages "reserved"
for premium access. Make sure you scroll all the way to the bottom
of the page before running this bookmarklet.
TODO: add selectable access
*/
// Make sure page is jquerified first:
// https://mreidsma.github.io/bookmarklets/jquerify.html
$("div.promo").remove();
$(".page_blur_promo").remove();
$(".page_missing_explanation_inner").remove();
$('.page-blur-promo-overlay').remove();
$('.autogen_class_views_read2_page_blur_promo').remove();
$('.outer_page only_ie6_border blurred_page').remove();
$('.page-blur-promo').removeClass('page-blur-promo');
$('.absimg').css('opacity', '1.0');
$('.text_layer').css('color', '#000');
$('.text_layer').css('text-shadow', '0px 0px 0px #000');
$("div.auto__doc_page_webpack_doc_page_blur_promo > div.promo").remove()
alert("Pages unblurred.");
// Paste this in the console:
(function (){$("div.promo").remove();$(".page_blur_promo").remove();$(".page_missing_explanation_inner").remove();$('.page-blur-promo-overlay').remove();$('.autogen_class_views_read2_page_blur_promo').remove();$('.outer_page only_ie6_border blurred_page').remove();$('.page-blur-promo').removeClass('page-blur-promo');$('.absimg').css('opacity', '1.0');$('.text_layer').css('color', '#000');$('.text_layer').css('text-shadow', '0px 0px 0px #000');$("div.auto__doc_page_webpack_doc_page_blur_promo > div.promo").remove();alert("Pages unblurred.");})()
// Or copy and paste this into your bookmarks:
javascript:(function (){$("div.promo").remove();$(".page_blur_promo").remove();$(".page_missing_explanation_inner").remove();$('.page-blur-promo-overlay').remove();$('.autogen_class_views_read2_page_blur_promo').remove();$('.outer_page only_ie6_border blurred_page').remove();$('.page-blur-promo').removeClass('page-blur-promo');$('.absimg').css('opacity', '1.0');$('.text_layer').css('color', '#000');$('.text_layer').css('text-shadow', '0px 0px 0px #000');$("div.auto__doc_page_webpack_doc_page_blur_promo > div.promo").remove();alert("Pages unblurred.");})()
@ggoliath1
Copy link

Works perfect, ty.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment