Greasy Fork is available in English.

EtoEto Remove Auto Scroll

Removes Auto Scrolling

Version vom 2016-05-12 13:59:36 UTC. Aktuellste Version

// ==UserScript==
// @name        EtoEto Remove Auto Scroll
// @namespace   etoetoautoscrollremoverKK
// @description Removes Auto Scrolling
// @include	*etoeto.com/*books/*episodes/*
// @version     1.0
// @grant       none
// ==/UserScript==

window.addEventListener('load', function() {
	javascript: (function() {
		//Destroy the Default Auto Scroll
		$.speed = {};
		window.scroll = function(e) {
			$("html, body").stop(1,0);
		}
		//Re-implement FocusKey
		window.onkeydown = function(e) {
			e = e || window.event;
			if (e.keyCode == 70) {
				var focusPoint = document.getElementsByClassName("sentence-highlight")[0].offsetTop;
				window.scrollTo(0, focusPoint+100);
			}
		};
	})();
}, false);