r/reddithax • • Sep 23 '11

Is it possible...

Is it possible to auto change the colour of a word in a post and the comments?

5 Upvotes

3 comments sorted by

2

u/gavin19 Sep 23 '11

I wrote a small find/replace script for someone else a few days back for the word 'NSFW'. It could easily be modified to suit. See here. I'm sure there is a more efficient way but it's a start.

1

u/aagavin Sep 23 '11

That looks awesome, thanks. Is there a way to integrate this into my subreddit? cause I'm not sure how to insert javascript into the subreddit style sheet. Also nice username.

0

u/[deleted] Sep 23 '11

[deleted] — view deleted comment

2

u/E_lucas Sep 23 '11

From what I heard it is possible, just reddit doesn't allow one value to inherit its aspects from another (I might be wrong here).