JavaScript反爬笔记(4)_浏览器开发者⼯具(摘要版)_Console + Sources + NetWork

跟JS反扒相关的重点是如下三个面板

一、Console 控制台面板:在开发期间,可以使用控制台面板记录诊断信息,或者使用它作为 shell在页面上与JavaScript交互。

1 console.log:用于输出普通信息
2 console.info:用于输出提示性信息
3 console.error:用于输出错误信息
4 console.warn:用于输出警示信息
5 console.debug:用于输出调试信息

6 console.assert(expression, object):Writes an error to the console when expression evaluates to false
7 console.clear():Clears the console
8 console.count([label]):Writes the number of times that count() has been invoked at the same line and with the same label
9 console.table(array):Logs an array of objects as a table.
10 copy(object) :copies a string representation of the specified object to the clipboard.

11 $_ :returns the value of the most recently evaluated expression
12 The $0, $1, $2, $3 and $4 commands work as a historical reference to the last five DOM elements inspected within the Ele

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值