×

Methods and systems for javascript parsing

  • US 8,549,099 B2
  • Filed: 07/14/2008
  • Issued: 10/01/2013
  • Est. Priority Date: 07/12/2007
  • Status: Active Grant
First Claim
Patent Images

1. A method of parsing a script within an HTML page to identify a URL for prefetching, the method comprising:

  • receiving a script object;

    parsing the script object with a token list in order to identify a token that indicates a possible URL in the script;

    parsing before and after the token with a script parser;

    identifying, by the parsing before and after the token, a plurality of URL strings and a script operator, wherein at least one of the URL strings comprises an expression associated with a variable;

    constructing a complete URL using the plurality of URL strings and the script operator, wherein the script operator provides instructions for creating at least a portion of the complete URL using the plurality of strings, and wherein the complete URL does not include the script operator or the expression;

    forwarding the complete URL to a detector, wherein the detector determines whether the complete URL is valid;

    sending object retrieval requests to websites associated with the valid complete URL; and

    prefetching data objects from webpages associated with the valid complete URL.

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