Reddit Filter Plus

By burger Last update Nov 17, 2011 — Installed 4,666 times.

Reddit update broke filter, here's a fix

in
Subscribe to Reddit update broke filter, here's a fix 4 posts, 4 voices



marklubi User

Apparently Reddit made an update this afternoon that broke the latest version of the filter. I found a quick fix for the script.

In the function rf_doFilter:

//if (!(/^thingrow_/.test(div.id))) continue;
if (!/^thing/.test(div.className)) continue;

 
hobophobe Scriptwright

That doesn't look like the only change...

Again in rf_doFilter:

//        } else if (link.className == 'hover') {
        } else if (/^subreddit/.test(link.className)) {

That's the only other thing needs a change I could see. Note that they dropped the subreddit link for reddit.com so if you were filtering on that subreddit you'll need to adjust accordingly.

 
StrawTurkey User

Nice catch, guys. Glad you guys could figure that out. I was just stuck being sad about it.

 
burger Script's Author

Hey guys, I have updated the script with fixes for this. Thanks for your help!

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