I want to hide xhttp requests from the browser's console So.
What i have here is a ajax request repeating in certain intervals of time
setInterval(function(){
$.ajax({
type:'post'..
url:...
});
},20);
And when the code above executes, I have this in the browser's console
XHR finished loading: POST "https://fibble.tk/chats.php".
XHR finished loading: POST "https://fibble.tk/chats.php".
XHR finished loading: POST "https://fibble.tk/chats.php".
XHR finished loading: POST "https://fibble.tk/chats.php".
I tried to hide the following from the console by using the code below:
setInterval(function(){
console.clear();
},1);
For protection I want to hide these from the consoles and I don't think that i'm doing it the right way as when the script above is running , the console flashes again and again.
I'm looking for a better method for this
Any help is appreciated
EDIT
To see it just copy the above code and open the console and do paste the code