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.