April 16, 2012

ququmber ququmber
Lab Rat
1 posts

Extending QWebInspector


Is there a way to extend QWebInspector? For example, i want to expand all nodes in the DOM viewer. As i can see QWebInspector doesn’t provide any useful methods to modify its behaviour.

2 replies

April 18, 2012

ququmber ququmber
Lab Rat
1 posts

Looked into webkit source code. Web Inspector implemented with C++, JavaScript, CSS and HTML.
Apparently, all this compiled in one libQtWebKit.so
The only way i can imagine to modify qwebinspector behaviour is to add/redefine some its JavaScript methods in runtime. But i doesn’t know how to evalute JavaScript in the context of WebInspector…

April 19, 2012

AcerExtensa AcerExtensa
Lab Rat
676 posts

Maybe you should ask this on WebKit forums, I don’t think you can do this over Qt without making modifications/extending WebKit source…

P.S.: If you find something, please let me know, I’m interesting in that too…


God is Real unless explicitly declared as Integer.

  ‹‹ Can’t load full html code from page      Simple Encryption/Decryption in QWebView ››

You must log in to post a reply. Not a member yet? Register here!