禁用用户控制台php输出

I don't want to show GET commands (php script execution) showing in user console (Image attached). But don't know where to start & what to search exactly.

enter image description here

any help.

i think what you need is console.clear();.

I haven't tested but it looks like your javascript is selling you out. I found this site which seems to allege catching javascript console output.

(function() {
    try {
        var $_console$$ = console;
        Object.defineProperty(window, "console", {
            get: function() {
                if ($_console$$._commandLineAPI)
                    throw "For Security Reasons - The script console is disabled for this site.";
                return $_console$$
            },
            set: function($val$$) {
                $_console$$ = $val$$
            }
        })
    } catch ($ignore$$) {
    }
})();

Sources: https://davidwalsh.name/disable-console ; http://pastebin.com/Lx5gjXsA