The DOM is just state in the browser. I'm curious about whether there's any APIs out there to manipulate that state from code outside the browser, e.g. C/C++ code that is including and instantiating a web control.
It seems like an obvious idea but I have never seen anyone do it.