Doesn't work for friended users

in
Subscribe to Doesn't work for friended users 4 posts, 2 voices



Augapfel User

Hi there!

Your script is incredibly helpful, thanks for that. My only gripe is that is doesn't work with friended redditors. I think it's really simple to implement this (it's 'a class="author friend"' instead of 'a class="author"'), but I don't know enough javascript to do that myself.

 
Tim McCormack Script's Author

Ah, thanks for the feedback. Yeah, Reddit broke the userscript with a markup change, and I never quite finished updating the script. Also, XPath isn't really the best way of querying a DOM, so I might see if I can switch to jQuery or (gasp) regular ol' DOM functions.

 
Tim McCormack Script's Author

Okay, updated! Try it out here:

http://www.reddit.com/r/self/comments/8hky0/is_...

 
Augapfel User

Thanks for that, works fine!

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