-1

I have problem when I need to get data from browser console. The data is from map tracking online. And the data in browser console is always update every 10 seconds. What I need to ask is, how we get data in browser console and show it in our php code project. Here is the example : .data in browser console of Mozilla Firefox

1 Answers1

0

The only way you can achieve this is by modifying the console.log function in JavaScript so that you can have a store of the logs in the console (take a look at this question) and then use AJAX to pass it to your PHP script.

Sean
  • 1,444
  • 1
  • 11
  • 21
  • take a look at the link to the SO question (in my answer), it shows you how to edit the `console.log` function so you can make your own store of logs. – Sean Nov 20 '17 at 10:57