These currently aren't used by anything other than the QtWebBrowser class itself, and can be made private.
Using a custom reimplementation of QWebEngineView and an injector script.