Method and system for inserting code to conditionally incorporate a user interface component in an HTML document
First Claim
1. A method in a computer system for conditionally incorporating an insertable component as part of a document, the method comprising:
- requesting the document;
receiving the requested document;
inserting code into the received document; and
generating a display representing the received document by executing the inserted code wherein the inserted code determines whether the insertable component is already being displayed as part of an other document;
when the insertable component is not already being displayed as part of said other document, incorporates the insertable component as part of the display representing the received document; and
when the insertable component is already being displayed as part of said other document, does not incorporate the insertable component as part of the display representing the received document.
5 Assignments
0 Petitions
Accused Products
Abstract
A method and system for injecting code into an existing HTML document that enables the conditional generation and incorporation of an injectable component is provided. The injection mechanism provided enables a user to display an add-on user interface component within a web page using a technique that is transparent to the normal processing within a browser application. The injection mechanism installs interceptor code as a proxy server between a client browser and a server. The interceptor code monitors all HTTP messages sent from the client browser and injects code into each HTML document that is sent from a server to the client browser. The injected code when executed by the client browser conditionally inserts HTML code into the received HTML document. The inserted HTML code is then used by the client browser to generate a new component, for example a user interface component. The code injected by the interceptor code is dependent upon the type of the browser and whether certain tags are present in the received HTML document. In addition, the code may be written in a script language, such as Javascript or VBscript.
-
Citations
34 Claims
-
1. A method in a computer system for conditionally incorporating an insertable component as part of a document, the method comprising:
-
requesting the document;
receiving the requested document;
inserting code into the received document; and
generating a display representing the received document by executing the inserted code wherein the inserted code determines whether the insertable component is already being displayed as part of an other document;
when the insertable component is not already being displayed as part of said other document, incorporates the insertable component as part of the display representing the received document; and
when the insertable component is already being displayed as part of said other document, does not incorporate the insertable component as part of the display representing the received document. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A system for conditionally incorporating an insertable component as part of a document, comprising:
-
a first component that inserts code into the document; and
a second component that generates a display representing the document by executing the inserted code wherein the inserted code determines whether the insertable component is already being displayed as part of an other document;
when the insertable component is not already being displayed as part of said document, incorporates the insertable component as part of the display representing the document; and
when the insertable component is already being displayed as part of said other document, does not incorporate the insertable component as part of the display representing the document. - View Dependent Claims (15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26)
-
-
27. A computer-readable medium containing instructions for causing a computer system to conditionally incorporate an insertable component as part of a document when generating a display representing the document, by:
-
determining whether the insertable component is already being displayed as part of an other document;
when the insertable component is not already being displayed, incorporating the insertable component as part of the display representing the document; and
when the insertable component is already being displayed as part of an other document, not incorporating the insertable component as part of the display representing the document. - View Dependent Claims (28, 29, 30, 31, 32, 33)
-
-
34. A computer program for conditionally incorporating an insertable component as part of a document when generating a display representing the document, by:
-
determining whether the insertable component is already being displayed as part of an other document;
when the insertable component is not already being displayed as part of an other document, incorporating the insertable component as part of the display representing the document; and
when the insertable component is already being displayed as part of an other document, not incorporating the insertable component as part of the display representing the document.
-
Specification