Skip to content

Instantly share code, notes, and snippets.

@xim
Created September 4, 2014 08:47
Show Gist options
  • Save xim/17da8a847003a9714efa to your computer and use it in GitHub Desktop.
Save xim/17da8a847003a9714efa to your computer and use it in GitHub Desktop.
Mangareader zoom in as default
// ==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