共用方式為


Srch.U.isDefaultSiteSearchPage Method (DisplayTemplatesSrch)

Indicates whether the current page is the default site search page (osssearchresults.aspx).

Srch.U.isDefaultSiteSearchPage()

Return value

true if the page is the default site search page; false otherwise.