Webkit open new javascript Page
Good day I.
I have a program that use webkit and it works great but i have 3 webpages that use java window.open to open new pages and work great under firefox etc.
How can i in webkit detect if a link with window.open is called and then capture the page it was opening so that i can create a new instance of qwebkit and send it the url.
Any help would be appriociated.
I did see something about
Code:
_parentFrame->evaluateJavaScript("window.open("", "");");
but i dont know how to impliment it.
Regards
Re: Webkit open new javascript Page
Re: Webkit open new javascript Page
Thanks you for the code suggestion.
But i cant see a signal for createwebpage.
How do i link the function to a slot() or how to i use sorry for the noob question
my webview is "ui->Webview"
Re: Webkit open new javascript Page
Sorry to bump this but can anyone please help