Skip to content

Instantly share code, notes, and snippets.

@roykolak
Created September 16, 2011 21:02
Show Gist options
  • Save roykolak/1223139 to your computer and use it in GitHub Desktop.
Save roykolak/1223139 to your computer and use it in GitHub Desktop.
chrome history js
/**
* Get search results for a selected depth. Our history system is optimized
* for queries that don't cross month boundaries, but an entire month's
* worth of data is huge. When we're in browse mode (searchText is empty)
* we request the data a day at a time. When we're searching, a month is
* used.
*
* TODO: Fix this for when the user's clock goes across month boundaries.
* @param {number} opt_day How many days back to do the search.
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment