CODE
java script: var a = document.documentElement.childNodes; var b = 0; while (a[b]) { for (var d = a[b].childNodes.length - 1; d >= 0; d--) { var e = a[b].removeChild(a[b].childNodes[d]); a[b].appendChild(e); } } void(0);
Crepes, I do believe I've found a vulnerability in Firefox v1.5.0.8 above. It crashes if you run the above script. If you want to try, paste it into the address bar, remove the space between "java" and "script," and press enter.
It also crashes IE6 and IE7. I might've stumbled onto a major vulnerability here. Well, more of an annoyance than a vulnerability, but...
CODE
java script: var a = document.getElementsByTagName("body")[0].childNodes; var b = 0; while (a[b]) { for (var d = a[b].childNodes.length - 1; d >= 0; d--) { var e = a[b].removeChild(a[b].childNodes[d]); a[b].appendChild(e); } b++; } void(0);
Haha, the above script is psychedelic.
CODE
java script: function flip(target) {var a = target.childNodes; var b = 0; while (a[b]) { for (var d = a[b].childNodes.length - 1; d >= 0; d--) { var e = a[b].removeChild(a[b].childNodes[d]); if (e.hasChildNodes()) flip(e); a[b].appendChild(e); } b++; } } flip (document.getElementsByTagName("body")[0]); void(0);
Crepes, that one's quite psychedelic.
CODE
java script: function flip(target) {var a = target.childNodes; var b = 0; while (a[b]) { for (var d = a[b].childNodes.length - 1; d >= 0; d--) { var e = a[b].removeChild(a[b].childNodes[d]); if (e.hasChildNodes()) flip(e); if (e.style) { e.style.position="relative"; e.style.top = (Math.random() * 40 - 20) + "px"; e.style.left = (Math.random() * 40 - 20) + "px"; } a[b].appendChild(e); } b++; } } flip (document.getElementsByTagName("body")[0]); void(0);
Oh joy, another one up on the psychedelic meter. Or maybe a two.
CODE
java script: function cut(target) {if (target) return parseFloat(target.substring(0, target.length - 2)); else return 0;} function shift(target) {var a = target.childNodes; var b = 0; while (a[b]) { for (var d = a[b].childNodes.length - 1; d >= 0; d--) { var e = a[b].childNodes[d]; if (e.hasChildNodes) shift(e); if (e.style) { e.style.position="relative"; e.style.top = cut (e.style.top) + (Math.random() * 6 - 3) + "px"; e.style.left = cut(e.style.left) + (Math.random() * 6 - 3) + "px"; } } b++; } } setInterval("shift(document.getElementsByTagName('body')[0]);", 500); void(0);
This one's very much quite psychedelic.
