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!)

Skaber
yeshiqing
Daglige installationer
0
Installationer i alt
47
Bedømmelser
0 0 0
Version
0.0.1
Oprettet
11.12.2022
Opdateret
11.12.2022
Size
1,18 kB
Licens
MIT
Gælder for
Alle hjemmesider

本脚本适用于 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 系统。