https://github.com/dfkaye/dom-console
intercepts console method calls and writes to a dom list
https://github.com/dfkaye/dom-console
Last synced: 3 months ago
JSON representation
intercepts console method calls and writes to a dom list
- Host: GitHub
- URL: https://github.com/dfkaye/dom-console
- Owner: dfkaye
- License: mit
- Created: 2013-10-07T20:16:19.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-10-09T19:37:47.000Z (over 10 years ago)
- Last Synced: 2025-01-02T03:46:40.807Z (5 months ago)
- Language: JavaScript
- Homepage:
- Size: 137 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
dom-console
===========Intercepts console method calls and writes to a dom list.
intent
------For dev-time use, so you don't need to press F12 + reload a page, or for legacy browsers
that don't support the console object, or the required addon is not installed (it happens).example
-------You can visit the browserified version of tape tests in my [simplegraph]
(https://rawgit.com/dfkaye/simplegraph/master/browser-test/suite.html) repo to see what it looks like.On that page you can open the browser console - the dom will still be updated. Try a few of the built-in methods
such as console.info('test') to see the dom update with the new message. You can clear the console as well,
by running console.clear() (not just "clear()" as that isn't supported - this *is* a dev-time shim, after all :).use
---Include the script tag before other scripts that may write to the console. No other change needed
on your part.