Suppress Chrome 'Failed to load resource' messages in console

后端 未结 3 1846
一个人的身影
一个人的身影 2020-11-22 04:23

I\'m writing a script that uses an XMLHttpRequest to search for a file defined by a relative path, by attempting to resolve that relative path against other same domain abso

3条回答
  •  清酒与你
    2020-11-22 05:04

    Unfortunately, this can't be done, as this type of message in the console is printed by chrome itself. Repressing this type of message has been debated for years, but the consensus seems to be that this message is desirable.

提交回复
热议问题