1 #ifndef CUSTOMUSERAGENTPAGE_H
2 #define CUSTOMUSERAGENTPAGE_H
6 class customUAPage : public QWebPage
11 customUAPage(QObject* parent = 0) : QWebPage(parent) {}
14 QString userAgentForUrl(const QUrl &url ) const
15 {return QString("Mozilla/5.0 (%Platform%; %Security%; %Subplatform%; %Locale%) AppleWebKit/%WebKitVersion% (KHTML, like Gecko) %AppVersion Mobile");}
19 #endif // CUSTOMUSERAGENTPAGE_H