I want to find a way to capture a client browser console that is using my server, and save it to a file inside the server, is this possible using a shell script ?
Asked
Active
Viewed 24 times
0
-
You want to log the Console of a Browser that is remote? Or are you talking about Terminal=Console as in ssh? (but I see Browser) Your question needs clarification..or more focus.. – Ron May 13 '20 at 12:44
-
No, i'm talking about the client when using a browser, i want to capture the console that appears when pressing "F12", save it to a file in the server and not in the client side. – logax May 13 '20 at 12:48
1 Answers
0
You cannot prohibit the local Browser from visualizing its Console contents.
You could use console.save to save the contents locally.
If you want to somehow send those contents to Your box, you could do this possibly with additional AJAX call.
Ron
- 161
- 7
-
Thank you for the answer, but, i'm looking for a shell/server side solution if possible. – logax May 14 '20 at 10:20
-
I would say it is impossible for you to grab Client side output, solely from the Server side. It just does not make sense in any viable way. – Ron May 14 '20 at 10:30
-