MediaWiki:Gadget-removeAccessKeys.js: Difference between revisions
Content deleted Content added
m moved MediaWiki:RemoveAccessKeys.js to MediaWiki:Gadget-removeAccessKeys.js: fix title |
support for modern skin |
||
Line 10:
addOnloadHook(function(){
var columnOne = document.getElementById('column-one');
if (!columnOne) columnOne = document.getElementById('mw_portlets');
if (!columnOne) return;
removeKeys(columnOne.getElementsByTagName('a'));
if(cactions) removeKeys(
var personal = document.getElementById('p-personal');
if(personal) removeKeys(personal.getElementsByTagName('a'));
removeKeys(columnOne.getElementsByTagName('a'));
removeKeys(columnOne.getElementById('p-cactions').getElementsByTagName('a'));
removeKeys(document.getElementsByTagName('input'));
removeKeys(document.getElementsByTagName('label'));
})
|