Last active
January 23, 2016 08:22
-
-
Save alastorid/f9ae683bf4f8c40dea64 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name UltraWideFix | |
// @namespace uwf | |
// @description Fix aspect ratio for youtube. | |
// @include https://www.youtube.com/watch=* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
document.addEventListener("keydown", OnKeyDownHandler, false); | |
// | |
function OnKeyDownHandler(e) { | |
var keyCode = e.keyCode; | |
alert("keyCode=" + keyCode); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment