Open any link in the same window

  • Hi,

    Is it possible to open any link in the same window? Maybe to intercept link handling and perform WebEnginePage::OpenLinkInThisWindow action? (Equivalent of right clicking the link and choosing "Follow the link").

  • Also, it is possible to derive from QWebEngineView and override QWebEngineView* createWindow(QWebEnginePage::WebWindowType type) returning this, but this loses the history, i.e. user can't navigate Back.

Log in to reply