--- /dev/null
+#ifndef CUSTOMUSERAGENTPAGE_H
+#define CUSTOMUSERAGENTPAGE_H
+
+#include <QWebPage>
+
+class customUAPage : public QWebPage
+{
+ Q_OBJECT
+
+public:
+ customUAPage(QObject* parent = 0) : QWebPage(parent) {}
+
+protected:
+ QString userAgentForUrl(const QUrl &url ) const
+ {return QString("Mozilla/5.0 (%Platform%; %Security%; %Subplatform%; %Locale%) AppleWebKit/%WebKitVersion% (KHTML, like Gecko) %AppVersion Mobile");}
+
+};
+
+#endif // CUSTOMUSERAGENTPAGE_H