13

Is there a way to hide the anniversary celebratory notice? I'm super excited for SuperUser's birthday, and was really happy to see that, but now that I know, it's a little bit distracting having it up there everywhere I go.

P.s. Happy Birthday SuperUser! ;)

2 Answers 2

10

Use a user script?

// ==UserScript==
// @name      Hide the anniversary bar on SuperUser
// @namespace http://whitequark.org/greasemonkey
// @include   http://superuser.com/*
// ==/UserScript==

var bar = document.getElementById('system-message');
if(bar.textContent.indexOf('anniversary') != -1)
  bar.parentNode.removeChild(bar);
2
  • Ah cool, indirectly I understand how user scripts work under Google Chrome now, thank you... ^^ Aug 19, 2010 at 14:49
  • Hmm, that looks nifty, and I do use Chrome frequently, but it would be nice to have an easier solution, and I'm sure other users (who might not be reading meta) would appreciate an easy way, too.
    – nhinkle
    Aug 20, 2010 at 10:55
3

We could insert it as a message in everyone's message queue so it would be dismissable.. but the 90% of traffic that is anonymous (unregistered, no account) users would never see it then.

2
  • 11
    Can you just add a [hide] button which will set a cookie and hide that particular message?
    – whitequark
    Aug 19, 2010 at 12:13
  • I rather like whitequark's suggestion, or some similar such implementation. Or perhaps it could be a combination of the style of how user messages and the "Are you new here? See the FAQ" bar that unregistered users get -- show it to all users, and remember whether they've closed it using a session-only cookie for unregistered users but remember it as an account setting for registered users?
    – nhinkle
    Aug 20, 2010 at 10:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .