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

Autor
yeshiqing
Instalări zilnice
0
Total instalări
47
Rating-uri
0 0 0
Versiune
0.0.1
Creat
11-12-2022
Actualizat
11-12-2022
Size
1,18 KB
Licență
MIT
Se aplică pe
Toate site-urile

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