Фарқият байни намунаҳои "Корбар:Aidan Kehoe/monobook.js"

I'd prefer the languages at the top, and visible, most of the time.
(Add a couple more userscripts.)
(I'd prefer the languages at the top, and visible, most of the time.)
 
 
function menu_move_to_top(menu_name) {
document.write('<script type="text/javascript" src="'
menu = document.getElementById(menu_name);
+ 'http://en.wikipedia.org/w/index.php?title=User:Js/bottomSidebar.js'
if (menu) {
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
p = menu.parentNode;
p.removeChild(menu);
p.insertBefore( menu, p.firstChild );
}
}
addOnloadHook(function (){
menu_names = [
"p-lang",
"p-search", // search box
"p-tb", // toolbox
];
while ( menu_name = menu_names.pop() ) {
menu_move_to_top(menu_name);
}
});
176

edits