<p>A window switching method is provided. When the browser receives information that a user needs to switch a webpage displayed in the current window, the browser obtains all currently opened webpages. The browser creates multiple display areas for all currently opened webpages based on preset rules and displays topic content of each visible webpage in the corresponding display area in a current window. When the browser receives a command that the user selects one of the display areas, the browser displays the currently opened webpage corresponding to the selected display area in the current window.</p>