# US 2024/0004949 A1 · Systems and Methods for Hosted Applications

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0004949 A1
- Document ID: US20240004949A1
- Status: Published application
- Kind: A1
- Application number: 18/347,477
- Filed: 2023-07-05
- Published: 2024-01-04
- Earliest claimed: 2012-08-28
- Assignees: SweetLabs, Inc.
- Applicants: SweetLabs, Inc.
- Inventors: Adrian Bourke; Pawel Miskiewicz; Benjamin P. Morris; Stefano Bertacchi; Corey Gwin
- Web page: https://patentgrep.com/patent/US20240004949A1

## CPC

- G06F 16/958: Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
- G06F 16/986: {Document structures and storage, e.g. HTML extensions}
- G06F 40/12: Use of codes for handling textual entities
- G06F 40/14: Tree-structured documents (parsing G06F40/205; validation G06F40/226)
- G06F 40/143: Markup, e.g. Standard Generalized Markup Language [SGML] or Document Type Definition [DTD]
- G06F 40/166: Editing, e.g. inserting or deleting
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

In one embodiment, a computing device configured to execute a hosted application includes a processor and storage, where an operating system is installed on the computing device, an application platform application including a rendering engine process including a virtual machine and an integration process, at least one hosted application comprising a background page file, wherein the virtual machine is configured to parse instructions in the background page file to download at least one remotely hosted file for rendering a web page, build a document object model (DOM), and modify the DOM in accordance with a predetermined DOM modification rule to create a modified DOM based on the computing environment, and wherein the rendering engine process is configured to render a user interface page integrated into the computing environment of the operating system of the computing device based on the DOM generated by the execution of the background page.

## Claims

### Claim 1

(canceled)

### Claim 2

A method for rendering a hosted application on a computing device, the method comprising:
obtaining, at a computing device configured to provide a computing environment, a hosted application comprising a first set of one or more resources for the hosted application and a background page file including instructions;
parsing instructions contained within the background page file of the hosted application;
based on the parsed instructions:
retrieving a second set of one or more resources for the hosted application; and
modifying the computing environment of an operating system of the computing device;
building a document object model (DOM) for the hosted application based on the first and second sets of resources; and
rendering a user interface page integrated into the computing environment of the operating system of the computing device based on the modified DOM.

### Claim 3 (depends on 2)

The method of claim 2, wherein the second set of resources comprises at least one selected from the group consisting of a text file, an image file, an animation file, and an audio file.

### Claim 4 (depends on 2)

The method of claim 2, wherein building the DOM comprises modifying at least one resource of the first set of resources based on at least one resource of the second set of resources.

### Claim 5 (depends on 2)

The method of claim 2, wherein the parsed instructions comprise a set of one or more API calls for functions to be performed at a remote server.

### Claim 6 (depends on 2)

The method of claim 2, wherein the parsed instructions comprise a set of one or more API calls for functions to be performed locally on the computing device.

### Claim 7 (depends on 2)

The method of claim 2, wherein the second set of resources are associated with a web page and the rendered user interface page is derived from the web page.

### Claim 8 (depends on 7)

The method of claim 7, wherein the rendered user interface page replaces at least a portion of the web page with resources from the first set of resources.

### Claim 9 (depends on 7)

The method of claim 7, wherein at least a portion of the second set of resources is retrieved from the web page as the user interface page is displayed.

### Claim 10 (depends on 2)

The method of claim 2, wherein the method further comprises:
detecting user interactions with the rendered user interface page; and
generating a second user interface page based on the detected user interactions and the instructions contained within the background page file.

### Claim 11

A non-transitory machine readable medium containing processor instructions for rendering a hosted application on a computing device, where execution of the instructions by a processor causes the processor to perform a process that comprises:
obtaining, at a computing device configured to provide a computing environment, a hosted application comprising a first set of one or more resources for the hosted application and a background page file including instructions;
parsing instructions contained within the background page file of the hosted application;
based on the parsed instructions:
retrieving a second set of one or more resources for the hosted application; and
modifying the computing environment of an operating system of the computing device;
building a document object model (DOM) for the hosted application based on the first and second sets of resources; and
rendering a user interface page integrated into the computing environment of the operating system of the computing device based on the modified DOM.

### Claim 12 (depends on 11)

The non-transitory machine readable medium of claim 11, wherein the second set of resources comprises at least one selected from the group consisting of a text file, an image file, an animation file, and an audio file.

### Claim 13 (depends on 11)

The non-transitory machine readable medium of claim 11, wherein building the DOM comprises modifying at least one resource of the first set of resources based on at least one resource of the second set of resources.

### Claim 14 (depends on 11)

The non-transitory machine readable medium of claim 11, wherein the parsed instructions comprise a set of one or more API calls for functions to be performed at a remote server.

### Claim 15 (depends on 11)

The non-transitory machine readable medium of claim 11, wherein the parsed instructions comprise a set of one or more API calls for functions to be performed locally on the computing device.

### Claim 16 (depends on 11)

The non-transitory machine readable medium of claim 11, wherein the second set of resources are associated with a web page and the rendered user interface page is derived from the web page.

### Claim 17 (depends on 16)

The non-transitory machine readable medium of claim 16, wherein the rendered user interface page replaces at least a portion of the web page with resources from the first set of resources.

### Claim 18 (depends on 16)

The non-transitory machine readable medium of claim 16, wherein at least a portion of the second set of resources is retrieved from the web page as the user interface page is displayed.

### Claim 19 (depends on 11)

The non-transitory machine readable medium of claim 11, wherein the non-transitory machine readable medium further comprises:
detecting user interactions with the rendered user interface page; and
generating a second user interface page based on the detected user interactions and the instructions contained within the background page file.
