Google Product Forums

Re: How do you make search results display in same window rather than new window?

omr Jan 27, 2012 12:21 PM
Posted in group: Google Custom Search

Categories: Creating and Editing :

You can use the "startHistoryManagement" method to enable browser history management for the Custom Search Element.

startHistoryManagement is documented in the Custom Search Element JavaScript Reference.  (In the "CustomSearchControl Methods" section, find startHistoryManagement about half-way down the page.)

Here is a demo.  View the source code to see how the startHistoryManagement method is used.

-- omr