Last active
December 15, 2015 08:08
-
-
Save sauravtom/5228263 to your computer and use it in GitHub Desktop.
A better way to read mangafox.
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
| script = document.createElement( 'script' ); | |
| script.src = 'http://code.jquery.com/jquery-1.9.1.js'; | |
| document.body.appendChild(script); | |
| var all = document.getElementsByTagName("div"); | |
| var viewer = document.getElementById("viewer").style; | |
| for (var i=0, max=all.length; i < max; i++) { | |
| all[i].style.visibility='hidden'; | |
| } | |
| viewer.visibility='visible'; | |
| viewer.position='absolute'; | |
| viewer.top='2px'; | |
| viewer.left='21%'; | |
| viewer.webkitFilter=" drop-shadow(13px 13px 20px black) grayscale(1) hue-rotate(210deg) sepia(0.8)"; | |
| viewer.zoom= "120%" | |
| $("<div class='foo' />").appendTo('body'); | |
| $('.foo').css({ | |
| 'background-color': 'black', | |
| 'position':'absolute', | |
| 'top':'1px', | |
| 'left':'1px', | |
| 'bottom':'1px', | |
| 'width':'200px' | |
| }); | |
| /* | |
| Add this to your javascript console or save it as a bookmark. | |
| javascript: (function () { | |
| var jsCode = document.createElement('script'); | |
| jsCode.setAttribute('src', 'https://gist.github.com/sauravtom/5228263/raw'); | |
| document.body.appendChild(jsCode); | |
| }()); | |
| */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment