Search Chrome Devtools history
- Undock the console (click on the icon in the bottom-left corner,
).
(if you don't see, but
, then hold the mouse pressed for a few seconds to get the desired icon)
- Press Ctrl + Shift + J to open the console for this console. (On OSX use Cmd + Option + i)
- Use the following snippet to get an array of matches for your search term:
const searchHistory = query => {console.dir(JSON.parse(localStorage.getItem('consoleHistory')).filter(function(item){ return ~item.indexOf(query);}))}
searchHistory('token')