How capture all files transfert (like "network" panel in dev mode)

106 Views Asked by At

I have a little problem, I use the performance.getEntriesByType("resource") to listen all files transfert, but I monitor with the "Network" panel of Chrome (in dev mode) and some files is miss.

In the "Network" panel, the type miss is "media"; a m4a file exactly. This file is used in a webplayer of a page.

I have tried to monitor with another; performance.getEntries() and nothing about the requested file.

My need is monitoring the file network usage and report all on a local log (I use TamperMonkey, for script). For now, I see types; img, fetch, xmlhttprequest and script correctly. Some times I can catch "audio" or "video", but not each time. The dev network tab not have this problem.

(sorry for my poor English, I'm better for read)

0

There are 0 best solutions below