
break🔴
用户量:13大小:15.42KiB版本:v 0.0.2更新时间:2021-12-21
Extension to pause the execution of any webpage with breakpoint
break🔴 的使用方法详解,最全面的教程
break🔴 描述:
用户数:13
分类:开发者工具插件
扩展大小:15.42 KiB
最后更新时间:2021-12-21
版本:v 0.0.2
break🔴 插件简介:
这是来自Chrome商店的 break🔴 浏览器插件,您可以在当前页面下载它的最新版本安装文件,并安装在Chrome、Edge等浏览器上。
break🔴插件下载方法/流程:
点击下载按钮,关注“扩展迷Extfans”公众号并获取验证码,在网页弹窗中输入验证码,即可下载最新安装文件。
break🔴插件安装教程/方法:
(1)将扩展迷上下载的安装包文件(.zip)解压为文件夹,其中类型为“crx”的文件就是接下来需要用到的安装文件
(2) 从设置->更多工具->扩展程序 打开扩展程序页面,或者地址栏输入 Chrome://extensions/ 按下回车打开扩展程序页面
(3) 打开扩展程序页面的“开发者模式”
(4) 将crx文件拖拽到扩展程序页面,
完成安装如有其它安装问题,
请扫描网站底部二维码与客服联系如有疑问请参考:
https://www.extfans.com/installation/Have you wanted to pause execution of some web-page so that you can inspect the state of the page or various elements on it at some given moment. This of course can be trivial if you're trying to do this to your own website on localhost since you could just set a break-point or add the "debugger" keyword on the code. This however is not the case for other websites you may not own or have access to source code to. One workaround could be to manually enter the "debugger" keyword in the dev console but this can get complicated with dynamic pages and if you want to inspect the page mid transitions. break🔴 is built for this very use-case in mind.
break🔴 inserts "debugger" keyword in the current web-page. This means when you press a set combination of keys, it sets a break-point and halts the execution of the web-page😎
Instructions:
1. Default mode
By default, pressing Ctrl + ` will activate the debugger in any web-page with 0 seconds of timeout delay
2. Custom mode
Contrarily, you could set your own key combo and timeout to trigger the debugger break.
Press Ctrl + to trigger debugger in seconds.
Important Notes (Please read):
1. The Dev Console must be open on the webpage for this to work
2. The key press events are expected to come from the webpage's body so make sure to switch to the context of the webpage by clicking on any part of its body before triggering the debugger
3. The default mode is active by default and needs no explicit activation
4. The default mode can't be overwritten
5. Custom settings get eliminated as soon as you refresh the webpage and don't persist across pages
6. Any previous settings can't be overwritten unless the webpage is refreshed (except the default)
7. key can't be used for the key combos
8. Negative values in the number input field will be interpreted as 0
P.S.: Source code: https://github.com/anmolshres/break
Information on "debugger" keyword: https://www.w3schools.com/jsref/jsref_debugger.asp