Skip to content

Instantly share code, notes, and snippets.

@RichardHum
Created June 10, 2014 13:11
Show Gist options
  • Select an option

  • Save RichardHum/b87bf9704233b16def39 to your computer and use it in GitHub Desktop.

Select an option

Save RichardHum/b87bf9704233b16def39 to your computer and use it in GitHub Desktop.
Remove floating frame on Scribd
// ==UserScript==
// @name ScribdFixer
// @namespace scribd.com
// @description Remove Scribd Overlay
// @include http://www.scribd.com/doc/*
// @version 1
// @grant none
// ==/UserScript==
var field = document.getElementsByClassName("page-blur-promo-overlay");
for (var i=0;i<field.length;i++)
{
field[i].parentNode.removeChild(field[i]);
}
var field = document.getElementsByClassName("page-blur-promo");
for (var i=0;i<field.length;i++)
{
field[i].parentNode.removeChild(field[i]);
}
var field = document.getElementsByClassName("page_missing_explanation_inner");
for (var i=0;i<field.length;i++)
{
field[i].parentNode.removeChild(field[i]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment