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 10:35

>>1
EXPERT JAVASCRIPT

Name: Anonymous 2009-01-15 10:37

>>2
If I did it cleanly IWHBT

Name: Anonymous 2009-01-15 10:40

>>3
whats unclean about this?

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !FrOzEn2BUo 2009-01-15 10:41

What are you going to do when its all <2008 posts?
Cry and goto sleep?

Name: Anonymous 2009-01-15 10:42

>>4
childNodes[3].childNodes[3].childNodes[1].childNodes[1]

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !FrOzEn2BUo 2009-01-15 10:44

>>6
Valid DOM traversal.the Script still just a useless hack.

Name: Anonymous 2009-01-15 10:47

>>7
FrozenBaaawwww!

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !FrOzEn2BUo 2009-01-15 10:50

>>8
The "Bawww" is the sound of butthurt proggers wishing they could stop the script. I don't even run it for them, the purpose of that was to show the moderators what real "threadshitting" was(they have banned me for simple posting).

Name: Anonymous 2009-01-15 10:55

Name: Anonymous 2009-01-15 11:05

>>9
FrozenBaaawwww!

Name: Anonymous 2009-01-15 11:16

>>9
Your virginity is showing.

Name: Anonymous 2009-01-15 11:45

>>9
That wasn't threadshitting, that was just regular spam as defined by Wikipedia.

Name: Anonymous 2009-01-15 13:06

>>9
Real threadshitting is every post you've ever made, retard.

Name: Anonymous 2009-01-15 13:10

Name: Anonymous 2009-01-15 13:46

>>15
Please make that into a standalone extension, I gave it a try yesterday, but got derailed thinking regular CSS could do it, but that wasn't the case.

I'm thinking of writing a patch for Firefox instead.

Name: Anonymous 2009-01-15 14:40

>>15
But his virginity is showing. He has the right to know.

Name: Anonymous 2009-01-15 15:01

>>16
http://www.mediafire.com/download.php?znahmdbcmgd
Made with http://arantius.com/misc/greasemonkey/script-compiler by copy-pasting both scripts one after the other. Works for me. Would be more convenient using GM of course.

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

Name: Anonymous 2009-01-15 15:54

>>19
I'm not your brah, booddy.

Name: Anonymous 2009-01-15 16:52

>>19
I appreciate the gesture, although I'd would have preferred you kept it secret and assured me it was awesome, as it lost a little value from becoming kopipeable

Name: Anonymous 2009-01-15 18:50

hello im patrick the gingor join my community of haxxors if you payme enough i will give you access to a secret area of /YHBT/ ;)

Name: Anonymous 2009-01-15 18:52

hello im patrick the gingor join my community of haxxors if you payme enough i will give you access to a secret area of /YHBT/ ;)

Name: Anonymous 2009-01-15 19:06

>>23
That spoiler was kind of disappointing. I was expecting it to say CROMA.

Name: Anonymous 2009-01-15 19:07

>>24
That's because CROMA.

Name: Anonymous 2009-01-15 19:20

>>21
Don't worry, I'm sure I posted it before.  There was a /prog/ challenge or something I think, probably in mid-2007.

Name: Anonymous 2009-01-15 19:33

hello im FrozenVirgin the trollor join my community of trollers if you payme enough i will give you access to my private area of loneliness :(

Name: Anonymous 2009-01-16 5:26

☃ Please try to ignore old posts! ☃

Name: Anonymous 2009-01-16 5:37

☃ Please try to ignore snowmen! ☃

Name: Anonymous 2009-01-16 5:37

>>28
Bah, FrozenVoid is enough, I disabled the necroposting part of the script.  These old posts are actually pretty good (2006 and on).

Name: Anonymous 2009-01-16 6:08

☃ Please try to ignore your breathing! ☃

Name: Anonymous 2009-01-16 7:10

A fag is all the difference between helping your uncle Hax off an horse-anus and helping your uncle, Hax, off a horse-anus.

Name: Anonymous 2009-01-16 16:23

✡ Please try to ignore JEWS! ✡

Name: Anonymous 2009-01-16 21:27

✡ Please try to ignore your jews. ✡

Name: Anonymous 2009-01-17 12:22

>>33,34
This is not /vip/

Name: Flea Turd Operator 2009-01-17 12:53

>>36
Are you sure?

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !FrOzEn2BUo 2009-01-17 13:24

>>37
Just look at the title and compare it to your board title.

_________________________
orbis terrarum delenda est

Name: Anonymous 2009-01-17 13:47

>>38
Fuck off, please.

Name: Anonymous 2009-01-17 13:51

>>38
FrozenBaaawwww!

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