You can create a browser extension which logs each request made from the browser. You can then post that data, for example as a .har
file, to a server.
Without using an extension you can use PerformanceObserver
to observer all requests made from the document
, send each entry as JSON
to server.
solved Is Auto Uploading Your Browsing History To Mysql DB Possible? [closed]