Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
// ==UserScript==
// @name Disable GitHub toolbar hotkey
// @namespace https://wanko.cc
// @include https://github.com/*
// @version 1
// @grant none
// ==/UserScript==
(function() {
var nodes = document.querySelectorAll('.js-toolbar-item[data-toolbar-hotkey]'), i;
for (i = 0; i < nodes.length; i++) {
nodes[i].removeAttribute('data-toolbar-hotkey');
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment