I wonder if it’s possible to get the parameters passed by window.open, as the following example:
var params = "menubar=yes,location=yes,resizable=yes";
window.open("http://www.cnn.com/", "_blank", params);
var params = "menubar=yes,location=yes,resizable=yes";
window.open("http://www.cnn.com/", "_blank", params);
To copy to clipboard, switch view to plain text mode
I need to get params this menubar=yes,location=yes,resizable=yes in “c++â€.
Is it possible to do this using
class cutomWebView : public QWebPage
class cutomWebView : public QWebPage
To copy to clipboard, switch view to plain text mode
or
class cutomWebView : public QWebView
class cutomWebView : public QWebView
To copy to clipboard, switch view to plain text mode
or something?
customWebPage.cpp:
QWebPage * customWebPage::createWindow(const QWebPage::WebWindowType type) {
qDebug() << type;
return new MainWindow()->createPage();//createPage is custom function
}
QWebPage * customWebPage::createWindow(const QWebPage::WebWindowType type) {
qDebug() << type;
return new MainWindow()->createPage();//createPage is custom function
}
To copy to clipboard, switch view to plain text mode
Bookmarks