The browser sample can't open the target="_blank" link. Is there any way to solve it?thanks
manyoubaby123 opened this issue · 1 comments
manyoubaby123 commented
The browser sample can't open the target="_blank" link. Is there any way to solve it?thanks
yinkaisheng commented
I also found this issue.
I found another PyQt5 tabbed browser that can handle target="_blank" links.
It'll open a link in a new tab if the link has target="_blank".
https://github.com/qutebrowser/qutebrowser
You need to handle QWebEnginePage.acceptNavigationRequest to solve it.