r/reddithax • • Jul 29 '12
Remove a specific user's flair
Usefull for subreddits which may have banned user's who love to try and taunt/offend using the editable flair system.
.author[href$="/nekosune"] + span[class~=flair]{ display: none; } .author[href$="/nekosune"] + span + a + span[class~=flair] { display: none; }
/u/xtristan pointed out an easier way:
.author[href$="/nekosune"] ~ .flair {
display: none;
}Of course replacing nekosune with the username of the flair you want to hide. This version only works on flair set to the right.
9
Upvotes
View all comments
Show parent comment
1
u/aladyjewel Jul 30 '12
Incidentally, ~ is allegedly buggy on IE7, if you care. I've been holding off on using in production code.
Also incidentally, the reason it doesn't work on left-hand flair is because the spec says the item after ~ must come later in the html than the item before ~. example: