a thoughtful web.
Good ideas and conversation. No ads, no tracking.   Login or Take a Tour!
comment by mk
mk  ·  4401 days ago  ·  link  ·    ·  parent  ·  post: Greasemonkey script for removing ignored posts

Nice.

Funny that this looks for #A90101. Now that there is code getting written against it, I should probably get more systematic with my CSS. :) By all accounts, #ignore ought to be an ID.

I'll let you know if/when I make any changes that might affect this.

Maybe I should create a specific page that just links to things like this script?

EDIT: I see you had to iterate through two separate getElementsByClassNames. I suppose ('box, outercomm') would be looking for both elements... my JS-fu is not so strong.





insomniasexx  ·  4401 days ago  ·  link  ·  

http://www.codebeautifier.com/

Might help clean up a bit..but it's not magic. :P

mk  ·  4401 days ago  ·  link  ·  

Thanks. It was a good start. Not only did I compress by about 15%, it made me notice some junk that I could toss out.

forwardslash  ·  4401 days ago  ·  link  ·  

Hubski's CSS has been pretty good to work with, thus far. I'm just glad that ignored users and tags have the same colour across all layout styles.

You could always make a community page or something, or just add to the bookmarklet & buttons page.

mk  ·  4401 days ago  ·  link  ·  

Yeah, I made sure the differences in styles were pretty limited. I want to code without having to consider how the styles are affected.

insomniasexx's http://www.codebeautifier.com suggestion motivated me to do some cleaning up tonight. I removed quite a few inheritance redundancies, and simplified some.

I think I'll create a separate page for this.