<?php $doc = new DOMDocument(); $doc->loadHTML("<html><script>window.X = {};window.Y = {};</script></html>"); var_dump($doc->getElementsByTagName('script')->item(0)->nodeValue);
You have javascript disabled. You will not be able to edit any code.