මාධ්‍යවිකි:Gadget-removeAccessKeys.js

Wiktionary වෙතින්

Note – after saving, you may have to bypass your browser’s cache to see the changes.

  • Mozilla / Firefox / Safari: hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (Command-R on a Macintosh);
  • Konqueror and Chrome: click Reload or press F5;
  • Opera: clear the cache in Tools → Preferences;
  • Internet Explorer: hold Ctrl while clicking Refresh, or press Ctrl-F5.

// **********************************************************************
// **                 ***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();
 });
});
"https://si.wiktionary.org/w/index.php?title=මාධ්‍යවිකි:Gadget-removeAccessKeys.js&oldid=18029" වෙතින් සම්ප්‍රවේශනය කෙරිණි