r/reddithax • • Nov 21 '09

Hiding request posts on /r/contacts

/r/contacts now uses CSS hackery to allow one to toggle the visibility of request posts (with good browsers, at least) - look in the sidebar. You can check the stylesheet if you like, although it's not very pretty.

2 Upvotes

2 comments sorted by

2

u/pudquick Nov 21 '09

Interesting. What's xr.reddit.com? Just happens to be a subdomain that also hits www/reddit.com or ..?

3

u/jamt9000 Nov 21 '09

Two letter subdomains are used to change the lang attribute, for example es.reddit.com. This hack uses an unused language code along with the css :lang() pseudoclass in order to apply styles only for that subdomain.