Wikipedia:WikiProject User scripts/Scripts/removeAccessKeys

//Deactivating access keys, see talk page

$(function(){
 var $nodeList;
 if (mw.config.get('skin') === 'vector') {
  $nodeList = $('#mw-head a, #mw-panel a');
 } else {
  $nodeList = $('#column-one a, #mw_portlets a, #p-cactions a, #p-personal a');
 }
 $nodeList = $nodeList.add('input, label').filter(function () {
  return this.accessKey && (!window.removeAccessKeys || window.removeAccessKeys.indexOf(this.accessKey) !== -1);
 });
 mw.loader.using('jquery.accessKeyLabel').then(function(){
  $nodeList.removeAttr('accesskey').updateTooltipAccessKeys();
 });
} );
//