System and method for emulating different user agents on a server
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.
4 Assignments
0 Petitions
Accused Products
Abstract
A system and method for emulating a multitude of different user agents on a server-side is disclosed herein. On a server-side, an acceptable user agent string for receiving full content from the web-site with a browser sniffing agent is identified. The acceptable user agent is emulated by transmitting a HTTP request with the acceptable user agent string, allowing for access to the full content of the web-page of the web-site.
244 Citations
1 Claim
-
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.
-
Specification