User:Becasita/monobook.js
Note: After saving, you have to bypass your browser's cache to see the changes. Internet Explorer: hold down Ctrl and click the Refresh or Reload button. Firefox: hold down ⇧ Shift while clicking Reload (or press Ctrl+⇧ Shift+R). Google Chrome and Safari users can just click the Reload button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/* Remove double purge button. */
setTimeout(function(){
if ($('[id="ca-purge"]').length > 1)
$('[id="ca-purge"]').slice(1).remove();
}, 800);
/* Add button to [[Special:WikiActivity]] to the sidebar. */
$('#p-Yu-Gi-Oh\\.21_Wikia .pBody ul').append(
$('<li>', {
id: 'n-Activity',
html: $('<a>', {
href: '/wiki/Special:WikiActivity?useskin=wikia',
rel: 'nofollow',
text: 'Wiki Activity'
})
})
);
/* Add "Browse" button to the page header menu. */
$('#p-cactions .pBody ul').append(
$('<li>', {
id: 'ca-browse',
html: $('<a>', {
href: '/wiki/Special:Browse/' + wgPageName,
title: 'Browse this page',
accesskey: 'b',
text: 'Browse'
})
})
);