# US 12,182,222 B2 · Method and system for controlling display of a web page

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

- Number: US 12,182,222 B2
- Document ID: US12182222B2
- Status: Granted
- Kind: B2
- Application number: 18/134,015
- Filed: 2023-04-12
- Published: 2023-10-12
- Granted: 2024-12-31
- Earliest claimed: 2022-04-12
- Assignees: Y.E. Hub Armenia LLC
- Applicants: Yandex Europe AG
- Inventors: Aleksandr Vladimirovich Komissarov; Sergey Vyacheslavovich Baibik
- Web page: https://patentgrep.com/patent/US12182222B2

## CPC

- G06F 16/9577: {Optimising the visualization of content, e.g. distillation of HTML documents}
- G06F 16/986: {Document structures and storage, e.g. HTML extensions}
- G06F 40/103: Formatting, i.e. changing of presentation of documents (automatic justification G06F40/189; automatic line break hyphenation G06F40/191)
- G06F 40/106: Display of layout of documents; Previewing
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- G06F 40/143: Markup, e.g. Standard Generalized Markup Language [SGML] or Document Type Definition [DTD]
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method and a system for controlling display of a web page in a browser application are provided. The method comprises: receiving data representative of the web page to be displayed in the browser application; identifying, based on the data, in the web page, the at least one user-activatable layout element displayable during the display of the web page; causing a simulated user interaction with the at least one user-activatable layout element; determining if the simulated user interaction causes a layout change indicative of the web page being configured to provide web page customized suggests in the at least one user-activatable layout element; in response to the layout change, disabling the browser application to provide the browser customized suggests in the at least one user-activatable layout element in the web page during the display thereof.

## Claims

### Claim 1

A method of controlling display of a web page in a browser application, the method being executable by at least one hardware processor of an electronic device running the browser application, the browser application configured to provide browser customized suggests in at least one user-activatable layout element of the web page, the method comprising:
receiving, by the at least one hardware processor, data representative of the web page to be displayed in the browser application;
identifying, based on the data, in the web page, the at least one user-activatable layout element displayable during the display of the web page;
causing, by the at least one hardware processor, a simulated user interaction with the at least one user-activatable layout element;
determining, by the at least one hardware processor, if the simulated user interaction causes a layout change indicative of the web page being configured to provide web page customized suggests in the at least one user-activatable layout element,
the web page customized suggests having been generated by the web page independent of the browser application;
in response to the layout change being indicative of the web page being configured to provide the web page customized suggests in the at least one user-activatable layout element:
disabling, by the at least one hardware processor, the browser application to provide the browser customized suggests in the at least one user-activatable layout element, such that only the web page customized suggests are provided in the web page during the display thereof.

### Claim 2 (depends on 1)

The method of claim 1, wherein the data representative of the web page comprises at least one of a JavaScript source code and a Cascading Style Sheets (CSS) source code thereof.

### Claim 3 (depends on 1)

The method of claim 1, wherein prior to the causing the simulated user-interaction, the method further comprises:
retrieving, by the at least one hardware processor, a respective scanning pattern for the at least one user-activatable layout element,
the respective scanning pattern comprising a plurality of points representative of a visual appearance of the at least one user-activatable layout element within the web page;
applying, by the at least one hardware processor, the respective scanning pattern to an area of the at least one user-activatable layout element, and wherein:
the causing the simulated user interaction with the at least one user-activatable layout element comprises causing the simulated user interaction with each one of the plurality of points.

### Claim 4 (depends on 3)

The method of claim 3, wherein the causing the simulated user interaction with a given one of the plurality of points is executed with a predetermined time interval.

### Claim 5 (depends on 4)

The method of claim 4, in response to the simulated user interaction with the given one of the plurality of points not causing the web page to provide the web page customized suggests in the at least one user-activatable layout element, further comprising increasing, by the at least one hardware processor, the predetermined time interval.

### Claim 6 (depends on 5)

The method of claim 5, wherein the increasing the predetermined time interval at each iteration of causing the simulated user interaction with the given one of the plurality of points is exponential.

### Claim 7 (depends on 1)

The method of claim 1, wherein the simulated user interaction comprises hit-testing of the at least one user-activatable layout element.

### Claim 8 (depends on 1)

The method of claim 1, wherein the causing the simulated user interaction is executed prior to the display of the web page.

### Claim 9 (depends on 1)

The method of claim 1, wherein the causing the simulated user interaction is executed during the display of the web page.

### Claim 10 (depends on 1)

The method of claim 1, wherein the causing the simulated user interaction is executed in response to refreshing the web page.

### Claim 11 (depends on 1)

The method of claim 1, wherein the layout change being indicative of the web page being configured to provide the web customized suggests is determined by a rendering engine of the browser application, such that:
in response to the simulated user interaction with the at least one user-activatable layout element causing the layout change thereof, the rendering engine is configured to determine that the layout change is indicative of the web page being configured to provide the web page customized suggests.

### Claim 12

A method of controlling display of a web page in a browser application, the method being executable by at least one hardware processor of an electronic device running the browser application, the browser application configured to provide browser customized suggests in at least one user-activatable layout element of the web page, the method comprising:
receiving, by the at least one hardware processor, data representative of the web page to be displayed in the browser application;
identifying, based on the data, in the web page, the at least one user-activatable layout element displayable during the display of the web page;
causing, by the at least one hardware processor, a simulated user interaction with the at least one user-activatable layout element;
determining, by the at least one hardware processor, if the simulated user interaction causes a layout change indicative of the web page being configured to provide web page customized suggests in the at least one user-activatable layout element,
the web page customized suggests having been generated by the web page independent of the browser application;
in response to the layout change being indicative of the web page being configured to provide the web page customized suggests in the at least one user-activatable layout element:
disabling, by the at least one hardware processor, a pre-determined one of:
the browser application to provide the browser customized suggests in the at least one user-activatable layout element in the web page during the display thereof; and
the web page to provide the web page customized suggests in the at least one user-activatable layout element in the web page during the display thereof.

### Claim 13 (depends on 12)

The method of claim 12, wherein the data representative of the web page comprises at least one of a JavaScript source code and a Cascading Style Sheets (CSS) source code thereof.

### Claim 14 (depends on 12)

The method of claim 12, wherein prior to the causing the simulated user-interaction, the method further comprises:
retrieving, by the at least one hardware processor, a respective scanning pattern for the at least one user-activatable layout element,
the respective scanning pattern comprising a plurality of points representative of a visual appearance of the at least one user-activatable layout element within the web page;
applying, by the at least one hardware processor, the respective scanning pattern to an area of the at least one user-activatable layout element, and wherein:
the causing the simulated user interaction with the at least one user-activatable layout element comprises causing the simulated user interaction with each one of the plurality of points.

### Claim 15 (depends on 14)

The method of claim 14, wherein the causing the simulated user interaction with a given one of the plurality of points is executed with a predetermined time interval.

### Claim 16 (depends on 15)

The method of claim 15, in response to the simulated user interaction with the given one of the plurality of points not causing the web page to provide the web page customized suggests in the at least one user-activatable layout element, further comprising increasing, by the at least one hardware processor, the predetermined time interval.

### Claim 17 (depends on 12)

The method of claim 12, wherein the simulated user interaction comprises hit-testing of the at least one user-activatable layout element.

### Claim 18

A method of controlling display of a web page in a browser application, the method being executable by at least one hardware processor of an electronic device running the browser application, the browser application being configured to provide browser customized suggests in at least one user-activatable layout element of the web page, the method comprising:
receiving, by the at least one hardware processor, data representative of the web page to be displayed in the browser application;
identifying, based on the data, in the web page, the at least one user-activatable layout element displayable during the display of the web page;
causing, by the at least one hardware processor, a simulated user interaction with the at least one user-activatable layout element;
determining, by the at least one hardware processor, if the simulated user interaction causes a layout change to the at least one user-activatable layout element;
in response to the simulated user interaction causing the layout change to the at least one user-activatable layout element:
disabling, by the at least one hardware processor, browser modifications, generated by the web browser application, to contents of the at least one user-activatable layout element in the web page during the display thereof.

### Claim 19 (depends on 18)

The method of claim 18, wherein the layout change to the at least one user-activatable layout element is indicative of the web page being configured for providing, in the at least one user-activatable layout elements, web page customized suggests to a user browsing the web page,
the web page customized suggests having been generated by a web server hosting the web page.

### Claim 20 (depends on 18)

The method of claim 18, wherein the browser modifications to the contents of the at least one user-activatable element comprises providing, by the at least one hardware processor, providing, by the browser application, browser customized suggests in the at least one user-activatable layout element,
the browser customized suggests having been generated by the browser application.
