An on-screen console debugging tool intended for mobile devices where the console may be hidden or not supported.
JavaScript 99.67%CSS 0.33%
calmconsole's Introduction
๐ Hi, Iโm @aapis aka Ryan Priebe
I like databases, automation, macOS apps, privacy and NON-GENERATIVE chatbots
I work regularly with PHP and Swift, but have many years experience with Python, Ruby, various shell scripting languages, plus a wee bit of C#, Obj-C and C++.
Line 230: //outputStr += '<p class="t1">I IS OBJECT LOL</p>';
Replace that with some code that will loop through the child objects and display their properties. Should be able to open/close those as well (like the main object).
Clicking the close button hides the console and saves the closed state to a cookie or to the localstorage db. That's good, but it means you can't just refresh to bring the console back. Currently you can reset the console by calling calm.reset(), but that only works for desktop browsers. Need a confirm dialog or some other method of bringing the console back.
A button in the lower left/right corner that only appears once you've closed the console, maybe?
I only know one person with a Windows mobile device so I can't really test it, but just in case there should be some cross browser support in the event someone wants to run this using IE.