How to maintain Chrome “enable request blocking” after closing dev tools?

旧城冷巷雨未停 提交于 2020-12-29 05:17:27

问题


I am talking about the feature in Chrome, opening the 3-dot-menu at the top right of the dev tools > More tools > Request blocking

This feature is amazing, and it remembers the domains/urls to block, however every time you close the dev tools it un-checks the box "Enable request blocking".

I want to block some stuff all the time, regardless of whether the dev tools are open... Is there a way to keep this from un-checking itself? It is possible to keep it open in the background, but it doesn't even transfer to a new tab if the current tab opens a new one. Perhaps there are some new flags that can be set in newer versions (now we are on Chrome 79, and this question was originally asked with Chrome 63).


回答1:


Unfortunately not the solution. However my workaround for that is to have the dev-tools as a separated window either minimised or just in the background if i don't need or want them.



来源:https://stackoverflow.com/questions/48324426/how-to-maintain-chrome-enable-request-blocking-after-closing-dev-tools

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!