-
-
Save NithishKolli/dbaff34f36520d4e5e69 to your computer and use it in GitHub Desktop.
Mangareader zoom in as default
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 mangareader zoom in as default | |
// @namespace https://gist.github.com/xim | |
// @description Zooms in on manga pages by default at mangareader.net | |
// @include http://www.mangareader.net/* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
document.getElementById('img').removeAttribute('width'); | |
document.getElementById('img').removeAttribute('height'); | |
document.getElementById('img').style.marginRight = "3em"; | |
function scrollRight() { | |
window.scrollBy(window.scrollMaxX, 0); | |
} | |
scrollRight(); | |
document.onload = scrollRight; | |
window.onload = scrollRight; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment