flyink13 / Disable first_name on reply

// ==UserScript==
// @name         Disable first_name on reply
// @namespace    http://tampermonkey.net/
// @version      0.2
// @description  try to take over the world!
// @author       Flyink13
// @match        https://vk.com/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    function replaceFunction(obj, cb){
        return (function(org){
            return function(){
                var x = org.apply(this, arguments);
                return cb(x);
            };
        })(obj);
    }
    window.addEventListener("load", function(){
        stManager.add = replaceFunction(stManager.add, function(r){
            if(typeof Wall !== "undefined") Wall.getReplyName = replaceFunction(Wall.getReplyName, function(x){
                x[1] = "";
                return x;
            });
            return r;
        });
    });
})();