Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Official FROZEN VOID fan thread

Name: Anonymous 2009-01-05 22:33

In Javascript 1.7 another feature was introduced into the language,by far the most useful yet. Its Destructuring assignment- a mix of array swap and initialization. [1]

KING OF TROLLS


[1] http://frozenvoid.blogspot.com/2008/12/destructuring-assignment.html

Name: Anonymous 2009-01-06 7:43

>>8
fixed:
// ==UserScript==
// @name           fix prog
// @description    fixes all of FrozenVoid!FrOzEn2BUo's posts on /prog/
// @namespace      http://dis.4chan.org/prog/
// @include        http://dis.4chan.org/*;
// @version        1.1
// ==/UserScript==

(function(){
 var posts = [];
 var myclass = new RegExp('\\bpost\\b');
 var divs = document.getElementsByTagName('div')
 for(var i = 0; i < divs.length; ++i){
  var classes = divs[i].className;
  if(myclass.test(classes)) posts.push(divs[i]);
 }
 for(var i = 0; i < posts.length; ++i){
  var postername = posts[i].getElementsByTagName('span')[3];
  var postertrip = posts[i].getElementsByTagName('span')[4];
  if(/^!FrOzEn2BUo/.test(postertrip.innerHTML))
   posts[i].parentNode.removeChild(posts[i]);
 }
})();

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List