Methods and systems for javascript parsing
Abstract
The present invention relates to systems, apparatus, and methods of parsing a script within an HTML page. The method includes receiving a script object, where the script object includes text. The method further includes parsing the text of the script object for tokens and 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). The method includes parsing before and after the determined locations until complete URLs are constructed, and forwarding the complete URLs to a detector. The detector then determines whether the complete URLs are valid. The method then sends object retrieval requests to websites associated with the valid complete URLs.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 7.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
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, where
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (7 of 7 total)
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- Chen, X. et al., Coordinated data prefetching by utilizing reference information at both proxy and web servers, SIGMETRICSs Performance Evaluation, Rev. 29, Sep. 2001, pp. 31-38.
- Domenech, J. et al., The Impact of the Web Prefetching Architecture on the Limits of Reducing User's Perceived Latency, In Proceedings of the 2006 IEEE/WIC/ACM international Conference on Web Intelligence, Dec. 18-22, 2006, Web Intelligence, IEEE Computer Society, Washington, DC, pp. 740-744.
- Fan, L. et al., Web prefetching between low-bandwidth clients and proxies: potential and performance, In Proceedings of the 1999 ACM Sigmetrics International Conference on Measurements and Modeling of Computer Systems, Atlanta, Georgia, May 1-4, 1999, SIGMETRICS '99, New York, NY, pp. 178-187.
- PCT International Search Report and Written Opinion mailed Mar. 11, 2009, International Publication No. PCT/US2008/078161, 12 pages.
- U.S. Appl. No. 12/172,913, Final Office Action mailed Oct. 14, 2010, 18 pages.