×

System and method for emulating different user agents on a server

  • US 8,285,813 B1
  • Filed: 12/03/2008
  • Issued: 10/09/2012
  • Est. Priority Date: 12/05/2007
  • Status: Active Grant
First Claim
Patent Images

1. A method for emulating a multitude of different user agents on a server-side, the method comprising:

  • identifying a Web-page on a Web-site, the Web-site having browser sniffing code;

    determining an acceptable user agent string for a first browser for receiving full content from the Web-site, the user agent string one of a plurality of user agent strings wherein a user agent string for a second browser does not receive full content for the Web-page;

    emulating the acceptable user agent by transmitting a HTTP request with the acceptable user agent string;

    retrieving a HTML document for the Web-page at a script server on the server-side;

    parsing the HTML document for the Web-page at the script server on the server-side;

    building a Document Object Model of the Web-page at the script server on the server-side;

    identifying a plurality of elements of the Document Object Model of the Web-page for manipulation at the script server on the server-side;

    manipulating the plurality of elements of the Document Object Model of the web-page to create a manipulated Document Object Model of the Web-page at the script server on the server-side, wherein the manipulated Document Object Model of the Web-page presents a full content of Web page to the second browser;

    serializing the manipulated Document Object Model of the Web-page at the script server on the server-side into an HTML document for a Web-page with a manipulated Document Object Model;

    transmitting the HTML document for the Web-page with the manipulated Document Object Model to a Web-server; and

    transmitting the HTML document for the Web-page with the manipulated Document Object Model to a client side using the second browser.

View all claims
  • 4 Assignments
Timeline View
Assignment View
    ×
    ×