Skip to content

Instantly share code, notes, and snippets.

@NithishKolli
Forked from xim/mangareader-zoom.user.js
Created January 18, 2016 06:00
Show Gist options
  • Save NithishKolli/dbaff34f36520d4e5e69 to your computer and use it in GitHub Desktop.
Save NithishKolli/dbaff34f36520d4e5e69 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