I'm creating a page in html that should display the all browser logs (% with%). So that when there is a script error I can access this page and view the browser logs.
I'm creating a page in html that should display the all browser logs (% with%). So that when there is a script error I can access this page and view the browser logs.
You can override the function, but you must overwrite it if the page is updated:
<script>
/* coloque aqui a funcionalidade que deseja */
console.log = function(arg){ alert(arg); };
console.log('ola');
</script>
Abcs!