highslide-software/highcharts.com — pull request #2201 by jeroenbaas (2013-08-29 07:24:23+00:00)
Title: Replace message interaction through console.log with page.evaluate() and...

... reading from window.properties in the Sandbox instead.

as per request, to contribute to a fix for the "ugly hack"; not that this doesn't improve the functionality, it is just a cleaner interaction.

Basically: exploit the fact that page.evaluate() itself can return data from the sandbox.