Greasy Fork

Mangaplus Key Shortcut Fix

Mangaplus only allowed up and down arrows, this re-enables things like reloading that it was blocking.

// ==UserScript==
// @name     Mangaplus Key Shortcut Fix
// @description Mangaplus only allowed up and down arrows, this re-enables things like reloading that it was blocking.
// @version  2
// @grant    unsafeWindow
// @include  http://mangaplus.shueisha.co.jp/*
// @include  https://mangaplus.shueisha.co.jp/*
// @run-at	 document-start
// @namespace https://greasyfork.org/users/692676
// ==/UserScript==

window.addEventListener('keydown', function (event) {
  switch (event.key) {
    case 'ArrowDown':
      break;
    case 'ArrowTop':
      break;
    default:
      event.stopPropagation();    
  }
}, true);