3 if (window.GCController)
4 return GCController.collectAll();
6 for (var i = 0; i < 10000; i++) { // > force garbage collection (FF requires about 9K allocations before a collect)
7 var s = new String("");
11 function removeScriptElement() {
12 var s = document.getElementById('theScript');
13 s.parentNode.removeChild(s);
16 removeScriptElement();