×

System and method for emulating different user agents on a server

  • US 9,148,467 B1
  • Filed: 10/05/2012
  • Issued: 09/29/2015
  • Est. Priority Date: 12/05/2007
  • Status: Active Grant
First Claim
Patent Images

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

  • a processor-based emulator executed on a computer system and configured to;

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

    determine 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;

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

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

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

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

    identify a plurality of elements of the Document Object Model of the Webpage for manipulation at the script server on the server-side;

    manipulate the plurality of elements of the Document Object Model of the webpage 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;

    serialize 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;

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

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

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