Closed darkshram closed 6 years ago
If the user-agent is set to the same version as QtWebengine 9.x (Chrome/56.0.2924.122), neither Google or other services complaint about the chrome/chromium version used.
diff -Naur qupzilla-master.orig/src/lib/preferences/useragentdialog.cpp qupzilla-master/src/lib/preferences/useragentdialog.cpp --- qupzilla-master.orig/src/lib/preferences/useragentdialog.cpp 2017-08-29 02:55:35.000000000 -0500 +++ qupzilla-master/src/lib/preferences/useragentdialog.cpp 2017-09-02 00:10:56.144145992 -0500 @@ -46,7 +46,7 @@ #endif m_knownUserAgents << QString("Opera/9.80 (%1) Presto/2.12.388 Version/12.16").arg(os) - << QString("Mozilla/5.0 (%1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36").arg(os) + << QString("Mozilla/5.0 (%1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.122 Safari/537.36").arg(os) << QString("Mozilla/5.0 (%1) AppleWebKit/602.3.12 (KHTML, like Gecko) Version/10.0.2 Safari/602.3.12").arg(os) << QString("Mozilla/5.0 (%1; rv:50.0) Gecko/20100101 Firefox/50.0").arg(os);
If the user-agent is set to the same version as QtWebengine 9.x (Chrome/56.0.2924.122), neither Google or other services complaint about the chrome/chromium version used.