User:Jack Phoenix/monobook.js
Jump to navigation
Jump to search
Note: After saving, you have to bypass your browser's cache to see the changes.
- Internet Explorer: hold down the Ctrl key and click the Refresh or Reload button, or press Ctrl+F5.
- Firefox: hold down the Shift key while clicking Reload; alternatively press Ctrl+F5 or Ctrl-Shift-R.
- Opera, Konqueror and Safari users can just click the Reload button.
- Chrome: press Ctrl+F5 or Shift+F5
//<pre><nowiki>
// Load my global JS from ShoutWiki and overwrite the default FastDelete reasons
// Kudos to MatmaRex for suggesting jQuery and the appropriate method!
jQuery.getScript( '//www.shoutwiki.com/w/index.php?title=User:Jack_Phoenix/global.js&action=raw&ctype=text/javascript', function() {
window.fdButtons = [];
window.fdButtons[window.fdButtons.length] = {
'summary': '[[Uncyclopedia:QuickVFD|QVFD]]',
'label': 'qvfd'
};
window.fdButtons[window.fdButtons.length] = {
'summary': 'This page is made of [[shit]], and thus is unfunny.',
'label': 'shit'
};
window.fdButtons[window.fdButtons.length] = {
'summary': 'This page [[UN:FAIL|fails]].',
'label': 'fail'
};
} );
//</nowiki></pre>