Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top


See a chat message you don't want on your screen? An annoying image or animated GIF? Now you can remove it!

This is a simple script that I made. It will allow you to click a chat message to remove it. That's all! Here's the code:

javascript:function f(){$('.content').each(function(i){$(this).click(function g(e){this.innerHTML='<i>removed</i>';$('.content').each(function(i){$(this).unbind('click');});});});}$('#footer-logo').click(function g(e){e.preventDefault();f();});

When you run it once, by pasting it into the address bar (your browser might remove the javascript: part so type it back in if it does) or using a bookmarklet, it is easy to remove messages. Simply click on the stack overflow logo at the bottom right corner of your screen, then click the message you want to remove.

share|improve this question

You must log in to answer this question.

Browse other questions tagged .