dgg2

By listrophy Last update Nov 18, 2008 — Installed 182 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 4 posts, 3 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
Ustice User

Okay, the author is still busy, so here is my update to this great script. http://ustice.googlepages.com/dgg.user.js

In the preferences you can add:

regex:^\d+

Now anything that starts with a number will be filtered out.

Now, here is my list:
site:theonion.com
regex:[\[\(]\+?(?:[pP]ic|[vV]id)s?[\]\)]
regex:^(?:[Tt][Hh][Ee] )?(?:[Tt]op )?\d+
regex:[Tt]op \d+
regex:\d+ [tT]op
regex:\d+ [^ ]+st
regex:^(?:[Tt][Hh][Ee] )?(?:[Tt]op )?(?:[Tt]hree|[Ff]our|[Ff]ive|[Ss]ix|[Ss]even|[Ee]ight|[Nn]ine|[Tt]en|[^ ]teen|[Tt]wenty|[Tt]hirty)
regex:(?:[Tt][Hh][Ee] )?(?:[Tt]hree|[Ff]our|[Ff]ive|[Ss]ix|[Ss]even|[Ee]ight|[Nn]ine|[Tt]en|[^ ]teen|[Tt]wenty|[Tt]hirty) [^ ]+st

I can't stand videos and pics, nor any of the spamy lists. Now, I (for the most part) don't see them.

Oh, and this version has the multiple page fix.

[Edit]
Note that I have updated the regex strings to match a few more lists. I now have a really high catch-rate.

 
Ustice User

To get this script to work on more than the first page, simply replace line 53:

if(i == p.length-2 || i < 0) return mainFilter;

with

if(i == p.length-2 || i < 0 || p.substr(i+2,4)=="page") return mainFilter;

 
Ken Wright Scriptwright

It won't work on any page but the first!

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel