Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Recover javascript logs and errors on Internet Explorer without F12 tool

The main idea is to run a random page on Internet Explorer and get javascript errors and logs.

Is there a way to recover javascript console logs and execution error from a random web page without accessing the F12 tool on Internet Explorer?


I found that with Chrome based browser, you can get it on your AppData file log by adding --enable-logging --v=1 args when launching.

Any solution with any language are welcome.

Thank you for your answer.

NOTE :

random page on Internet Explorer means that I do not have the access on the source code.

like image 209
Perfect28 Avatar asked Nov 27 '25 12:11

Perfect28


1 Answers

Basic solution to this would be: 1. Use Exception Handling to catch the errors. 2. Log errors in a Global Array 3. Log the errors in a file using Blob and URL.createObjectURL. All recent browsers support this.