Skip to content

Instantly share code, notes, and snippets.

@myuhe
Last active August 29, 2015 14:20
Show Gist options
  • Save myuhe/42a59ac8ae070b85bd8b to your computer and use it in GitHub Desktop.
Save myuhe/42a59ac8ae070b85bd8b to your computer and use it in GitHub Desktop.
// ==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