Patent ID: 8832559

Claim:
A method for leveraging unused space on a client display of a client device, the method comprising: receiving primary content markup at a client computing device having a client display, wherein the primary content markup is configured to be rendered on the client display; identifying unused space in the primary content markup by defining a virtual display in a memory of the client computing device that corresponds to the client display of the client computing device, pre-rendering the primary content markup within the defined virtual display in the memory of the client computing device, wherein pre-rendering the primary content markup comprises generating a layout of a virtual page that represents a rendering of the primary content markup on the client display, and identifying unused space within the layout of the virtual page that represents the rendering of the primary content markup on the client display; and defining a placeholder for secondary content markup within the primary content markup, wherein the placeholder corresponds to the identified unused space in the primary content markup, such that secondary content markup inserted at the defined placeholder is rendered with the primary content markup on the client display.