Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/**** quick image delete ****/
document.write('<script type="text/javascript"' +
  'src="http://en.wikipedia.org/w/index.php?title=User:Howcheng/quickimgdelete.js' +
  '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
//</nowiki>
/* This is to keep track of who is using this extension: [[User:Howcheng/quickimgdelete.js]] */

function addToolboxLink(url, name, id) {
    return mw.util.addPortletLink('p-tb', url, name, id);
}