..we will make a new module and not just some new module, nope let's make a fully automatic injection script! This tutorial is the first step into making this. Let's first explain what..
THC Sscan is a very versatile tool for scanning (html) files
/* file manager menu */
$(document).on({
mouseover: function() {
$('div.moptions').remove();
copytitle = $(this).attr('title');
$(this).removeAttr('title');
if($(this).attr('id')=='dir'){
$(this).after('<div class="moptions emboss" alt="'+copytitle+'">[ <a href=\"#\" id=\"uploadfile\">upload</a> ][ <a href=\"#\" id=\"deletedir\">delete</a> ][ <a href=\"#\" id=\"renamedir\">rename</a> ]</div>');
}
else{
var filetype = copytitle.substr(copytitle.lastIndexOf('.') + 1);
if(filetype!="jpg" && filetype!="jpeg" && filetype!="png" && filetype!="gif"){
$(this).after('<div class="moptions emboss" alt="'+copytitle+'">[ <a href=\"#\" id=\"editfile\">edit</a> ][ <a href=\"#\" id=\"deletefile\">delete</a> ][ <a href=\"#\" id=\"renamefile\">rename</a> ]</div>');
}
else{
$(this).after('<div class="moptions emboss" alt="'+copytitle+'">[ <a href=\"#\" id=\"deletefile\">delete</a> ][ <a href=\"#\" id=\"renamefile\">rename</a> ]</div>');
}
}
},
mouseout: function() {
$(this).attr({title:copytitle});
}
}, ".devlistcellright a");