From 4adce2e801f7616eaee52abb6c473d0207cc78d4 Mon Sep 17 00:00:00 2001 From: Richard Ramos Date: Tue, 20 Oct 2020 15:39:01 -0400 Subject: [PATCH] fix?: sqlite crash - Cookie sqlite error 5, errno 0: database is locked --- ui/app/AppLayouts/Browser/BrowserLayout.qml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/ui/app/AppLayouts/Browser/BrowserLayout.qml b/ui/app/AppLayouts/Browser/BrowserLayout.qml index c655f0f293..52b9019e3f 100644 --- a/ui/app/AppLayouts/Browser/BrowserLayout.qml +++ b/ui/app/AppLayouts/Browser/BrowserLayout.qml @@ -215,13 +215,7 @@ Rectangle { property QtObject defaultProfile: WebEngineProfile { storageName: "Profile" offTheRecord: false - httpUserAgent: { - if (browserHeader.addressBar.text.indexOf("google.") > -1) { - // Google doesn't let you connect if the user agent is Chrome-ish and doesn't satisfy some sort of hidden requirement - return "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:81.0) Gecko/20100101 Firefox/81.0" - } - return "" - } + httpUserAgent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:81.0) Gecko/20100101 Firefox/81.0" useForGlobalCertificateVerification: true userScripts: [ WebEngineScript {