Skip to content

jonnypaes/console.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Console.js

Read console calls across multiple browsers with this simple tool.


Contents


Description

A javascript tool to runtime capture console logs across multiple devices and browsers.

Simply add 'true' to a console param in the URL and it's done.


Import

You can host on your server and call it inside the <head> tag (preferably on top):

<script src="console.js"></script>

You can also import the original or minified "-min" from a third-party (GitHub) inside the <head> tag:

<script src="https://jonnypaes.github.io/console.js/console-min.js"></script>

And last but not least, you can use a minified version from JSDelivr (Recommended):

<script src="https://cdn.jsdelivr.net/gh/jonnypaes/console.js/console-min.js"></script>

Activate

Simply add ?console=true at the end of the URL and you will trigger the console.

https://jonnypaes.github.io/console.js/?console=true

Try it here


State

Done ✅

  • Show file content inside a virtual object
  • Highlights the line inside the virtual object
  • Capture logs from header and body

Partially Done ⚠️

  • Error stack parser kinda buggy

About

Javascript tool to runtime capture console logs on mobile

Resources

License

Stars

Watchers

Forks

Contributors