I wonder if it’s possible to get the parameters passed by window.open, as the following example:
Qt Code:
  1. var params = "menubar=yes,location=yes,resizable=yes";
  2. 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

Qt Code:
  1. class cutomWebView : public QWebPage
To copy to clipboard, switch view to plain text mode 
or
Qt Code:
  1. class cutomWebView : public QWebView
To copy to clipboard, switch view to plain text mode 
or something?

customWebPage.cpp:

Qt Code:
  1. QWebPage * customWebPage::createWindow(const QWebPage::WebWindowType type) {
  2. qDebug() << type;
  3.  
  4. return new MainWindow()->createPage();//createPage is custom function
  5. }
To copy to clipboard, switch view to plain text mode