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

Ignore necroposting [Greasemonkey]

Name: Anonymous 2009-01-15 10:32

Easy install: http://userscripts.org/scripts/show/40523

Code:
// ==UserScript==
// @name          /prog/ : Ignore necroposting
// @version       1.0
// @namespace     http://dis.4chan.org/read/prog/1/
// @description   Do not display threads older than 2008 on /prog/'s main page.
// @include       http://dis.4chan.org/prog/
// ==/UserScript==

var threads, thread;
threads = document.evaluate("//div[@class='border']", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
for (var i = 0; i < threads.snapshotLength; i++) {
  thread = threads.snapshotItem(i);
  if (-1 != thread.childNodes[3].childNodes[3].childNodes[1].childNodes[1].textContent.search(/200[4-7]-[0-9][0-9]-[0-9][0-9] [0-9][0-9]:[0-9][0-9]/g)) {
      thread.style.display = "none";
  }
}
// Doing it cleanly? Are you crazy? It'd take me, like, minutes.

Name: Anonymous 2009-01-15 15:21

>>18
Thanks brah, I'll give you this secret ASCII art as thanks:

  wohs-eht-ni-nwod-hcuorc-I-tsriF
  e                             -
  r e-gnizilausiv-,etunim-a-rof .
  - i                         - '
  i t -muh-ot-trats-I-dna-)ed e e
  n h t                     o r i
  - e h tI-.seye-ym-nepo-dn c e n
  t r e -                 a - h e
  h - - h eew-psil-gums-, - f t e
  e S S e n             y n o - w
  - c I l i niatruc-rew l o - h -
  c h C p e -         o l i n c p
  l e P s . s iur-tI- h e t o u s
  a m - - - t n     . s m i i o i
I s e t m T i s ysa g - s s t r l
- s - h e h c - . t e e - o a c -
h i o e - e k t   n l h a p t - g
a c r m t - s he-fa - t - - n I u
v - - e o o -       p - s g e - m
e ` H . - n to-my-lis f a n d d s
- s a - p l           i - i n e -
a u s T r y-problem-is- y d i s e
- a k h o               a n - o h
m v e e ceed-through-my-d a d l t
o e l n                   t e c `
r - l -I-slowly-rise-to-a-s c - -
n s -                       r s t
i p (not-Python-because-of-fo e i
n a                           y -
g ce-toad-lisp'-pose.-With-my-e l
-                               l
ritual-that-I-need-to-share.-I-ca

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