browser: add search-mode checks to support snippet display