首页 开发者工具 break🔴

break🔴

用户数 : 13 分类 : 开发者工具 扩展大小 : 15.42KiB 最后更新时间 : 2020-08-03 版本 : 0.0.2
prev extension banner next extension banner
                            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/shresshres/break
         Information on "debugger" keyword: https://www.w3schools.com/jsref/jsref_debugger.asp
                        
查看更多
下载 如何离线安装? Chrome store

分享

全部评论

    展开更多评论

    错误提示保存失败
    成功提示保存成功
    close
    qr-code

    为打击盗链困扰,本站已启用公众号验证
    微信扫码关注上方公众号,回复“插件”二字获得验证码,验证码5分钟内全站有效。

    正在验证
    验证成功
    下载遇到问题?请添加QQ群:398095333
    close
    qr-code

    为打击盗链困扰,本站已启用公众号验证
    微信扫码关注上方公众号,回复“脚本”二字获得验证码,验证码5分钟内全站有效。

    正在验证
    验证成功