Skip to content

Conversation

alandmoore
Copy link

This is to address issue #7. By creating a callback that generates a new browser window and assigning it to MainWindow.browser.createWindow, the browser is able to open new windows with Ctrl+click and handle target='_blank' links.

In the spirit of this repository, I have tried to keep the code simple and minimal. A more proper implementation would subclass QWebEngineView or QWebEnginePage, but this approach is simple and works.

@SaptakBhoumik
Copy link

Approved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants