From ab6ca15afcffc99ec12084e9172f2e211b838ea3 Mon Sep 17 00:00:00 2001 From: nowrep Date: Fri, 15 Jun 2012 19:08:43 +0200 Subject: [PATCH] Should fix issues with Facebook not loading at all. - closes #409 --- src/lib/webview/webpage.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/webview/webpage.cpp b/src/lib/webview/webpage.cpp index 9d5b3352f..14e701095 100644 --- a/src/lib/webview/webpage.cpp +++ b/src/lib/webview/webpage.cpp @@ -510,8 +510,8 @@ QString WebPage::userAgentForUrl(const QUrl &url) const { const QString &host = url.host(); - // Let Google services (and Facebook) play nice with us - if (host.contains("google") || host.contains("facebook")) { + // Let Google services play nice with us + if (host.contains("google")) { if (s_fakeUserAgent.isEmpty()) { s_fakeUserAgent = QString("Mozilla/5.0 (%1) AppleWebKit/%2 (KHTML, like Gecko) Chrome/10.0 Safari/%2").arg(qz_buildSystem(), QupZilla::WEBKITVERSION); }