如何拷贝Chrome NetWork里面的所有链接

  1. Switch devtools to detached window (click devtools settings icon, click “dock side” undock icon). Next time you can simply press Ctrl-Shift-D.
  2. Invoke devtools-for-devtools by pressing Ctrl-Shift-i
  3. Run this code to copy the URLs of all/filtered requests to clipboard: copy(UI.panels.network._networkLogView._dataGrid._rootNode._flatNodes.map(n => n._request._url).join('\n'))
You can save the code as a Snippet in Sources panel and run it via rightclick-menu or Ctrl-Enter:
var URLs = UI.panels.network._networkLogView._dataGrid._rootNode._flatNodes.map(n => n._request._url);
copy(URLs.join('\n'));
URLs; // displays it in the console as an expandable array
原文:
https://stackoverflow.com/questions/41200450/multiple-urls-copy-in-sources-network-tab

发表评论

您的电子邮箱地址不会被公开。