Mapping selections between a browser and the original file fetched from a web server
First Claim
Patent Images
1. A system comprising:
- at least one processor of a computing device;
a memory of the computing device; and
at least one module loaded into the memory causing the at least one processor to;
obtain an original file fetched from a web server, the original file comprising a fetched file;
create a Document Object Model (DOM) representing the fetched file, the DOM having a structure for representing data in the fetched file that differs from the fetched file;
create associations between location ranges in the DOM and location ranges in the fetched file;
create a block list for the DOM;
create a block list for the fetched file;
map a selection in a browser to the DOM block list; and
using the associations created between the location ranges in the DOM and the location ranges in the fetched file, map the selection in the browser 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.
77 Citations
20 Claims
-
1. A system comprising:
-
at least one processor of a computing device; a memory of the computing device; and at least one module loaded into the memory causing the at least one processor to; obtain an original file fetched from a web server, the original file comprising a fetched file; create a Document Object Model (DOM) representing the fetched file, the DOM having a structure for representing data in the fetched file that differs from the fetched file; create associations between location ranges in the DOM and location ranges in the fetched file; create a block list for the DOM; create a block list for the fetched file; map a selection in a browser to the DOM block list; and using the associations created between the location ranges in the DOM and the location ranges in the fetched file, map the selection in the browser to the fetched file. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method comprising:
-
receiving by a module of a plurality of modules executing within an Integrated Development Environment (IDE) of a software development computer, the module executed by a processor of the software development computer, an HyperText Markup Language (HTML) file from a web server, the HTML file comprising a fetched file; assigning each element of a plurality of elements in the fetched file an identifier, wherein an identifier of an element of the plurality of elements uniquely identifies the element; converting the fetched file to a Document Object Model (DOM), retaining the assigned identifiers, the DOM having a structure for representing data in the fetched file that differs from the fetched file; executing a scripting language on the DOM, modifying the DOM; creating a block list for the DOM; creating a block list for the fetched file mapping a selection in a browser to the DOM block list; and using the identifiers assigned to each element in the fetched file and retained in the DOM, mapping the selection in the browser to a block in the DOM block list, mapping the block in the DOM block list to a block in the block list for the fetched file, and matching the block in the block list for the fetched file a location in the fetched file. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A device, comprising:
-
at least one processor and a memory, the at least one processor configured to; receive by the at least one processor of the computing device an HyperText Markup Language (HTML) file comprising a file fetched from a web server; assign a unique identifier to an element for each element in the fetched file; convert the fetched file to a Document Object Model (DOM), retaining the assigned unique identifiers, the DOM having a structure for representing data in the fetched file that differs from the fetched file; execute a scripting language on the DOM, generating a modified DOM; create a DOM block list from the modified DOM; create a block list for the fetched file from the fetched file; map a selection in a browser file to a location in the fetched file using the assigned unique identifiers. - View Dependent Claims (15, 16, 17, 18, 19, 20)
-
Specification