Tag Archives: javascript

Open URLs in external browser by Javascript in WebKit

It’s very simple with the QtWebKit APIs to open an link with your default browser from a QWebView (you can find some solutions like this in StackOverflow about that) but that works well only with <a> elements. If you are opening an external browser by a window.open() JavaScript function you need a whole different approach.

Continue reading