摘要 |
Disclosed are a method and device for implementing instant messaging through a browser. A plug-in interface of an instant messaging tool is preset on the browser. The method comprises: a master process of the browser creating a plug-in process corresponding to the instant messaging tool; triggering the plug-in interface to instruct the master process of the browser to reload a browser window; the master process of the browser defining, in the browser window, page presentation ranges of a plug-in page of the instant messaging tool and a current tab page of the browser window and notifying the plug-in process of the page presentation ranges; and the plug-in process generating the plug-in page according to the defined page presentation ranges and loading the plug-in page and the re-rendered current tab page side by side in the browser window. The present invention enables a user to operate the instant messaging tool in the plug-in page without having to switch between the window of the browser and the window of the instant messaging tool, simplifying the operation of accessing the instant messaging tool. |