How to get a list of all loaded frontend resources in PHP or JavaScript?

Viewed 18

I can't find anywhere something similar to that what I need.

I want to create a script where I can enter any domain like test.com inside an input and submit this address to my webserver (or even clientside with JavaScript).

Now it should return me a list of all loaded resources of the website like fonts, scripts, stylesheets, etc. like in chrome developer tools:

Example of Chrome Dev Tools Network Tab showing loaded fonts

Is that possible?

For example I'd like to scan other websites if they're loading fonts from google servers - thats why I need that.

Thanks!

0 Answers
Related