From 76b26a8a25522300b9e6e463e75397693fa2bb53 Mon Sep 17 00:00:00 2001 From: Niklas Baumstark Date: Sun, 22 Jan 2012 13:46:17 +0100 Subject: really get more history items --- background_page.html | 8 +++++--- fuzzyMode.js | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/background_page.html b/background_page.html index 0f86e3ce..c065333d 100644 --- a/background_page.html +++ b/background_page.html @@ -308,9 +308,11 @@ }; function getHistory(args, port) { - chrome.history.search({ text: '', - maxResults: args.maxResults || 1000 }, - function(history) { + chrome.history.search({ + text: '', + maxResults: args.maxResults || 1000, + startTime: 0, + }, function(history) { port.postMessage({history:history}); }); }; diff --git a/fuzzyMode.js b/fuzzyMode.js index 32f54eb9..90ba0aa4 100644 --- a/fuzzyMode.js +++ b/fuzzyMode.js @@ -11,7 +11,7 @@ var fuzzyMode = (function() { ';' : [ 'goto', '%s' ], '?' : [ 'search', function(query) { return utils.createSearchUrl(query) } ], }), - new completion.FuzzyHistoryCompleter(500), + new completion.FuzzyHistoryCompleter(2000), new completion.FuzzyBookmarkCompleter(), new completion.FuzzyTabCompleter(), ]); -- cgit v1.2.3