Mapping selections between a browser and the original fetched file from a web server
First Claim
Patent Images
1. A system comprising:
- at least one processor and a memory;
the at least one processor configured to;
obtain a fetched file representing a web page;
assign an identifier to each element of a plurality of elements in the fetched file, an element of the plurality of elements delimited by a start tag and an end tag;
produce a Document Object Model (DOM) representing the fetched file retaining the identifiers;
generate a modified DOM;
generate a DOM block list from the modified DOM, the DOM block list having a block identifier;
map a selection in the browser to the DOM block list by matching the identifier of the selection to the block identifier of the DOM block list; and
use the block identifier to map the selection to the fetched file.
2 Assignments
0 Petitions
Accused Products
Abstract
A selection in a browser in an integrated development environment can be mapped back to the original document that was fetched from a web server by uniquely identifying elements in the original document. A DOM can be created from the original document where the DOM retains the unique identifiers associated with the elements. Block lists for the original document and the DOM can be created. A differencing algorithm can be run on the two block lists. A selection in a browser can be mapped to a location in the DOM block list and the location in the DOM block list can be mapped to the original document.
96 Citations
14 Claims
-
1. A system comprising:
-
at least one processor and a memory; the at least one processor configured to; obtain a fetched file representing a web page; assign an identifier to each element of a plurality of elements in the fetched file, an element of the plurality of elements delimited by a start tag and an end tag; produce a Document Object Model (DOM) representing the fetched file retaining the identifiers; generate a modified DOM; generate a DOM block list from the modified DOM, the DOM block list having a block identifier; map a selection in the browser to the DOM block list by matching the identifier of the selection to the block identifier of the DOM block list; and use the block identifier to map the selection to the fetched file. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method comprising:
-
receiving within a computer having at least one processor, a webpage comprising a fetched file; rendering the fetched file in a browser; assigning an identifier to each element of a plurality of elements in the fetched file, an element of the plurality of elements delimited by a start tag and an end tag; creating a Document Object Model (DOM) representing the fetched file, the DOM retaining the identifiers; executing script code which modifies the DOM; generating a DOM block list from the modified DOM, the DOM block list having a block identifier; mapping a selection in the browser to the DOM block list by matching the identifier of the selection to the block identifier of the DOM block list; and mapping the matching block identifier to the fetched file. - View Dependent Claims (10, 11, 12, 13, 14)
-
Specification