Created
June 10, 2014 13:11
-
-
Save RichardHum/b87bf9704233b16def39 to your computer and use it in GitHub Desktop.
Remove floating frame on Scribd
This file contains hidden or 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 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