6 ms·
My former employer is still using HTA (HTml Application) to dynamically render a lot of tool windows in their massive legacy COM application on Windows. HTAs re
by TimTheTinker 4y ago
My former employer is still using HTA (HTml Application) to dynamically render a lot of tool windows in their massive legacy COM application on Windows. HTAs render using an IE6-era renderer that is still present in Windows. (I wasn't in the group that built these tool windows, but I did build a lot of in-house web apps to help with various workflows.)
A few years ago, I had a colleague come by with bug he couldn't solve in an HTA tool window. There's no built-in console or anything... but I showed him how to copy/paste the Firebug Lite minified JS into a <script> tag, and how he could then press F12 to bring up Firebug Lite inside the HTA tool window. (Note Firebug Lite supported IE all the way back to 6). He was able to quickly debug & resolve the problem.
Thanks Firebug!
- cxr 4y agoMicrosoft themselves ended up doing something like this—VorlonJS. <https://github.com/MicrosoftDX/Vorlonjs https://github.com/MicrosoftDX/Vorlonjs> There's also weinre <https://people.apache.org/~pmuellr/weinre/ https://people.apache.org/~pmuellr/weinre/>, which is the same with the (old) WebKit Inspector code, rather than Firebug.
- TimTheTinker 4y agoFirebug Lite enabled debugging directly within the tool window -- i.e. the Firebug UI appeared on the bottom edge of the HTA UI area (not a remote debugging scenario).