×

Method and system for injecting code to conditionally incorporate a user interface component in an HTML document

  • US 20020129064A1
  • Filed: 06/01/2001
  • Published: 09/12/2002
  • Est. Priority Date: 04/08/1997
  • Status: Abandoned Application
First Claim
Patent Images

1. A method in a computer system for injecting code into an HTML document to conditionally generate a user interface component when processing the HTML document, the method comprising:

  • under control of browser code, installing interceptor code as a proxy server; and

    sending a request for the HTML document to the interceptor code installed as the proxy server;

    under control of the interceptor code installed as the proxy server, receiving the request for the HTML document;

    forwarding the received request to a specified server;

    upon receiving a response that includes the requested HTML document, injecting code into the received HTML document thereby creating a modified HTML document, wherein the stored code, when executed, conditionally generates additional code; and

    forwarding to the browser code the received response that includes the modified HTML document; and

    under control of the browser code, upon receiving the response that includes the modified HTML document, executing the code injected in the modified HTML document such that, when a certain condition is met, additional code is inserted into the modified HTML document; and

    when processing the modified HTML document, using the inserted additional code to generate the user interface component.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×