摘要 |
A method and apparatus for sharing webpage JavaScript objects are disclosed. An embodiment of the invention provides a method for sharing JavaScript objects of webpages that are provided by a server by way of a browser executed at a user client. The method includes: (a) storing a shared JavaScript object from among one or more JavaScript objects of a first webpage in a predefined object storage area; (b) checking for a shared JavaScript object in a second webpage; and (c) forming the second webpage with the shared JavaScript object extracted, where the object storage area is positioned in a JavaScript context. |