[Qt 5.3] Replacing the window JS object or trace member access
Now if I dig deeper to QtWebKit, do you have any pointers for me where I can start looking for a place where I can maybe modify the default window object implementation? Any suggestions are welcome :-)
I figured out I can hook up in the WebKit class DOMWindow (e. g. DOMWindow::outerHeight() which is window.outerHeight property in JS).
I now try to figure out how to connect a slot of my class to a signal emitted in outerHeight(). Is there a good way to access the instance of DOMWindowf for the current page? Again, any suggestions are welcome :-)
Tried use "QWebFrame::evaluateScript" ?