代码拉取完成,页面将自动刷新
English | 简体中文
%c
log format to support custom log style, see Tutorial for more details.VConsole.VConsoleLogPlugin
(VConsole.VConsole*
plugins etc.) to VConsole
class.window DOMContentLoaded
instead of window load
.console.log('[foo]', 'bar')
) will not display in Log tab.JSON.stringify
function which was incorrectly rewritten.logNumber
bug which was not reset when clear logs. (by @liuyuekeng)nonce
attribute. (by @scotthuang)console.time()
and console.timeEnd()
.disableLogScrolling
(in vConsole.option
).setOption()
error.vConsole.showSwitch()
and vConsole.hideSwitch()
methods, see Public Properties & Methods.onReady
and onClearLog
callback function to vConsole.option
.console.clear()
is called.\r
error when build in Windows.Symbol
error in iOS8 or other old OS.Basic:
var vConsole = new VConsole(option)
.vConsole.option
, which can be set when new VConsole
or setOption(key, value)
.defaultPlugins
in the above option.setOption(key, value)
method.unsafe-eval
and unsafe-inline
.font-size
when initial-scale < 1
.Log plugin:
maxLogNumber
option to limit maximum log number.console.log('[system]', xxx)
will be shown in System tab, so console.log('[system] xxx')
will be shown in default log tab.Network plugin:
Query String Parameters
and Form Data
.Plugins:
this.vConsole
on/after init
event is called.updateOption
event to detect vConsole.option
changes.scrollHeight
error in some cases.vConsole.removePlugin()
method, see Public Properties & Methods.remove
plugin event, see Plugin: Event List.window.onerror()
typo.addTopBar
plugin event, see Plugin: Event List.tap
event (in V2.3.0) with click
event (still support fast response) to prevent conflicts.now
item and add navigationStart
time in System tab.tap
event within vConsole's DOM container to speed up click
event.vConsole.version
property.xhr._noVConsole
property to XMLHttpRequest
objects to customize whether a XHR should display in Network tab.vConsole.tool
& vConsole.$
helper functions, see Helper Functions.error
in window.onerror()
may be undefined.xhr.status
may be unavailable when xhr.readyState < 4
.localStorage
is null in some kind of devices.vConsole.ready()
method.window.onerror()
to catch exceptions and errors.[default|system|...]
string to print logs to specific panel.main
path in package.json
.此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。