Chrome DevTools console

execute "console.log()" and "console.dir()" faster in the DevTool of Chrome

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Author
yeshiqing
Daily installs
0
Total installs
47
Ratings
0 0 0
Version
0.0.1
Created
2022-12-11
Updated
2022-12-11
Size
1.18 KB
License
MIT
Applies to
All sites

本脚本适用于 Chrome 开发者工具(DevTools)

目前提供的功能:

  • log() 全局函数代替 console.log()
  • dir() 全局函数代替 console.dir()
  • 对象类型的数据增加 log() 方法
  • 对象类型的数据增加 dir() 方法
  let obj = {foo: 'foo'}
  obj.log() // {foo: 'foo'}
  obj.dir() // {foo: 'foo'}

以上功能支持 Mac、Windows、Linux 系统。