மீடியாவிக்கி:Gadget-removeAccessKeys.js
குறிப்பு - சேமித்த பின்னர், நீங்கள் செய்த மாற்றங்களைக் காண்பதற்கு உங்கள் உலவியின் இடைமாற்று அகற்றப்பட வேண்டும்.
- மொஸில்லா பயர்பாக்ஸ் / சபாரி: Shift+Reload, அல்லது Ctrl-F5 அல்லது Ctrl-R (⌘-R Mac ல்)
- கூகிள் குரோம் Ctrl-Shift-R அழுத்தவும். (⌘-Shift-R Mac ல்) ;
- இண்டர்நெட் எக்ஸ்ப்ளோரர்: Ctrl-Refresh அல்லது Ctrl-F5 ஐ அழுத்தவும்.
- ஒபேரா: Tools → Preferences இல் இடைமாற்றை அகற்றவும்;
// **********************************************************************
// ** ***WARNING GLOBAL GADGET FILE*** **
// ** changes to this file affect many users. **
// ** please discuss on the talk page before editing **
// ** **
// **********************************************************************
// Imported from version as of: 2007-04-17T22:22:27
//Deactivating access keys, see [[Wikipedia talk:WikiProject User scripts/Scripts/removeAccessKeys|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('mediawiki.util').then(function(){
$nodeList.removeAttr('accesskey').updateTooltipAccessKeys();
});
});