fix?: sqlite crash - Cookie sqlite error 5, errno 0: database is locked

This commit is contained in:
Richard Ramos 2020-10-20 15:39:01 -04:00 committed by Iuri Matias
parent 51afc7fc54
commit 4adce2e801
1 changed files with 1 additions and 7 deletions

View File

@ -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 {