Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Disabled default Firefox auto completion for URL bar

  • Loading branch information
mahmoud-adam85 authored and naira-cliqz committed Apr 13, 2018
1 parent b664886 commit 2aa22c16c709fc5aa89225fbf9f6dba803fcf88d
Showing with 3 additions and 0 deletions.
  1. +3 −0 Client/Frontend/Browser/SearchLoader.swift
@@ -59,6 +59,8 @@ class _SearchLoader<UnusedA, UnusedB>: Loader<Cursor<Site>, HistoryListener> {
profile.db.cancel(databaseOperation: WeakRef(currentDbQuery))
}

// Cliqz: disable auto complete from both history and top domains
/*
let deferred = frecentHistory.getSites(whereURLContains: query, historyLimit: 100, bookmarksLimit: 5)
currentDbQuery = deferred as? Cancellable
@@ -92,6 +94,7 @@ class _SearchLoader<UnusedA, UnusedB>: Loader<Cursor<Site>, HistoryListener> {
}
}
}
*/
}
}

0 comments on commit 2aa22c1

Please sign in to comment.