<svg xmlns="http://www.w3.org/2000/svg"> <script>//<![CDATA[ function add_watch() { document.getElementById("p").transform.baseVal.watch("0", function(){}); } window.addEventListener("load", add_watch, false); //]]></script> <path id="p" transform="scale(1)" /> </svg>