×

Identifying a viewport within a browser window

  • US 10,416,952 B2
  • Filed: 06/27/2017
  • Issued: 09/17/2019
  • Est. Priority Date: 06/27/2017
  • Status: Active Grant
First Claim
Patent Images

1. A computer program product comprising computer-readable program code capable of being executed by one or more processors when retrieved from a non-transitory computer-readable medium, the program code comprising instructions configurable to cause:

  • displaying, in a display of a first computing device, a pattern image in a bottom right corner of a browser window, a first portion of the pattern image abutting a bottom edge of a viewport within the browser window and a second portion of the pattern image abutting a right edge of the view port, the viewport defining an area of a web page within the browser window, the pattern image including a pattern composed of two or more colors;

    after displaying the pattern image, capturing an image of the browser window;

    detecting, within the captured image, a location of the pattern image, the location of the pattern image indicating a location of a bottom right corner of the viewport;

    ascertaining an inner width of the viewport;

    ascertaining an inner height of the viewport;

    determining coordinates that define the viewport within the browser window based, at least in part, on the location of the bottom right corner of the viewport, the inner width of the viewport, and the inner height of the viewport; and

    transmitting information indicating the coordinates that define the viewport within the browser window to a second computing device.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×