Skip to content
This repository has been archived by the owner on Apr 18, 2020. It is now read-only.
/ console Public archive

Latest commit

 

History

History
13 lines (9 loc) · 735 Bytes

README.md

File metadata and controls

13 lines (9 loc) · 735 Bytes

Console.js is a JavaScript console for the browser that intercepts console messages and collects errors. This can be useful in environments where no browser console is available.

Console.js can be enabled by adding a script tag to your HTML, preferably at the beginning of the <body> tag:

<script src="https://cdn.jsdelivr.net/combine/npm/vue@2/dist/vue.min.js,gh/slymax/console@0.1.1/console.min.js"></script>

You can also inject Console.js into an existing website by executing the following in your browser console:

(function(){s=document.createElement("script");s.src="https://cdn.jsdelivr.net/combine/npm/vue@2/dist/vue.min.js,gh/slymax/console@0.1.1/console.min.js";document.head.appendChild(s);}());