Last active
August 29, 2015 14:20
-
-
Save myuhe/42a59ac8ae070b85bd8b to your computer and use it in GitHub Desktop.
This file contains 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 InoReader Kill Keyboard Shortcuts | |
// @namespace https://gist.github.com/myuhe/42a59ac8ae070b85bd8b | |
// @include http*://www.inoreader.com/* | |
// @include http*://inoreader.com/* | |
// @include http*://beta.inoreader.com/* | |
// @run-at document-start | |
// @version 1.0 | |
// @require https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js | |
// @grant none | |
// ==/UserScript== | |
document.addEventListener('keydown', function(e) { | |
if (!e.shiftKey){ | |
if(e.keyCode == 84 || e.keyCode == 65) { // T | |
e.stopImmediatePropagation(); | |
return false; | |
} | |
} | |
}, true); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment