×

Methods and systems for JavaScript parsing

  • US 8,984,095 B2
  • Filed: 08/15/2013
  • Issued: 03/17/2015
  • Est. Priority Date: 07/12/2007
  • Status: Active Grant
First Claim
Patent Images

1. A method of parsing a script within an HTML page, the method comprising:

  • receiving a script object, wherein the script object includes text;

    parsing the text of the script object for tokens without updating a state machine for every byte processed;

    comparing the parsed tokens with a valid tokens list to determine locations within the text of the script object that include potential universal resource locators (URLs);

    parsing before and after the determined locations until complete URLs are constructed;

    forwarding the complete URLs to a detector, wherein the detector determines whether the complete URLs are valid; and

    sending object retrieval requests to websites associated with the valid complete URLs.

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