Pop out gauge in Webpage

Hi guys, I would like to build my own browser based gauge (CJ4 FMS) for use on a tablet with some standard HTML, CSS and JS. The template and functionality (sending H events via the AxisAndOhs web API) should be fairly easy to design, but I just need a way to pull the display of the FMS from the sim and display it in a browser environment.

Given it’s very easy to pop out a gauge as a separate window in-sim, I’m hoping this is possible. Any ideas?