[WM] Accesskey Navigation for Animekisa.tv

Ctrl + Arrow Key navigation.

As of 2020-07-02. See the latest version.

// ==UserScript==
// @name        [WM] Accesskey Navigation for Animekisa.tv
// @namespace	https://github.com/WidgetMidget/scripts-and-userstyles
// @author      WidgetMidget
// @description Ctrl + Arrow Key navigation.
// @version     1.1.5
// @icon	https://www.google.com/s2/favicons?domain=animekisa.tv
// @supportURL  https://github.com/WidgetMidget/scripts-and-userstyles/issues
// @match       *://*.animekisa.tv/*
// @require     https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js
// ==/UserScript==

/* globals $ */

document.addEventListener('keydown', function(e){
	if (e.ctrlKey)
	{
		switch (e.keyCode)
		{
			case 37:
				$("#playerselector").find("option:selected").prev().prop("selected", true).trigger("change");
      break;

			case 39:
				$("#playerselector").find("option:selected").next().prop("selected", true).trigger("change");
			break;
		}
	}
}, false);