Is it possible to hide extension resources in the Chrome web inspector network tab?

亡梦爱人 提交于 2019-12-29 10:03:16

问题


When I'm viewing the downloaded resources for a page in the Chrome web inspector, I also see the HTML/JS/CSS requested by certain extensions.

In the example above, indicator.html, indicator.js and indicator.css are actually part of the Readability Chrome extension, not part of my app.

This isn't too big a deal in this particular situation, but on a more complex page and with several extensions installed, it can get quite crowded in there!

I was wondering if there was a way to filter out any extension-related resources from this list (i.e. any requests using the chrome-extension:// protocol).

Does anyone know how I could achieve this?


回答1:


Not quite the solution I was after (I'd have preferred a global setting), but there is now a way to filter out requests from extensions, as mentioned by a commenter on the issue I originally opened.

In the network tab filter box, enter the string -scheme:chrome-extension (as shown below):

This is case-sensitive, so make sure it's lowercase. Doing this will hide all resources which were requested by extensions.




回答2:


This is currently impossible. Please file a feature request on crbug.com.

When the post was first answered, it was not possible, The OP then requested for it here https://code.google.com/p/chromium/issues/detail?id=239401 and now it is possible.




回答3:


An Incognito Window, can be configured to include or exclude extensions from the extensions page of Chrome settings.




回答4:


you can simply enable this option and requests from extension will be group.

Update: It can only group requests that create by the extension that draw iframe, such as cVim



来源:https://stackoverflow.com/questions/16436369/is-it-possible-to-hide-extension-resources-in-the-chrome-web-inspector-network-t

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