K
K
Kirill2014-10-23 23:03:37
JavaScript
Kirill, 2014-10-23 23:03:37

How to disable connection error output in Chrome console?

I am using socket.io for client and server communication.
It is assumed that the application can work offline.
In this case, socket.io constantly tries to connect and the message is displayed in the console 13a6215c3aae436b83755afe352e5af9.png
How can I turn off this message?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Andrey Zenkov, 2014-10-27
@andreyzenkov

Make a check when connecting to the socket, if there is no connection on the socket, then save this state and do not make repeated attempts to connect.

A
Alexander Urich, 2016-12-08
@freeman0204

var userName = '<?php echo $row_hear['hear']; ?>';
var tl = new Date(userName + '/01/01 00:00:00');

R
Rou1997, 2016-12-08
@Rou1997

alert('<?php echo 'something'; ?>');

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question