Patent ID: 9535889
Date: 2017-01-03
CPC Classifications: G06F,G06Q

Claim:
1. A computer implemented method for determining whether a region within a portion of a web page is in view, comprising: providing at least one test feature in the region within the portion of the web page, wherein at least one of a browser rendering the web page or an application communicating with the browser is configured to redraw the test feature using at least a first redraw rate when the test feature is in view and at a rate lower than the first redraw rate when the test feature is not in view; rendering the web page; monitoring, using code operating in a restricted environment without access to position information of the region with respect to a viewable portion of the web page, a redraw rate of the at least one test feature, monitoring the redraw rate comprising monitoring an event indicating the test feature has been redrawn at a rate lower than the first rate, the redraw rate comprising a rate at which the at least one of the browser or the application redraws the at least one test feature within the window; and determining, using the code operating in the restricted environment, from the monitored redraw rate whether the region is in view or not in view, determining whether the region is in view or not in view comprising determining the region is not in view in response to detecting the event indicating the test feature has been redrawn at a rate lower than the first rate.