User:.jun/common.js

// shift + click an image to mark it for deletion var summary = 'superseded'; $('.WikiaArticle img').click(function(e) {       e.preventDefault;        var $this = $(this);        if (e.shiftKey) {            $.post(mw.util.wikiScript('api'), { action: 'edit', title: 'File:' + mw.util.wikiUrlencode($this.attr('data-image-name'),               text: '',                minor: '1',                summary: summary,                token: mw.user.tokens.values.editToken                format: 'json'            }, function(e) {                $this.css('filter', 'grayscale(100%)');            }); }   }); });
 * (function {