38

I don't mind advertising in general on S[OFU], but I don't like a specific one. Is it possible to ask that you don't see a specific advertisement again, without doing some Greasemonkey magic?

Background: The one I don't like is the "Case of the Mondays?".

14
  • 11
    "I believe you'd get your ass kicked saying something like that, man." youtube.com/watch?v=lV7DzFP6FUY Jan 18, 2010 at 10:56
  • 15
    I bet I'd really get my ass kicked if I said what I thought about the ad. Jan 18, 2010 at 11:13
  • 9
    @Jeff no-one seems to like that ad - maybe you could just .. put it out of its misery..
    – Blorgbeard
    Apr 11, 2010 at 10:50
  • 1
    It can't be that bad. Can it?
    – Sampson
    Apr 11, 2010 at 13:18
  • How come this question got a sudden burst of activity? Was there a dulicate asked or something? Apr 11, 2010 at 23:22
  • 1
    A dupe indeed: meta.stackexchange.com/questions/46057/…
    – random
    Apr 12, 2010 at 15:45
  • And another one: meta.stackexchange.com/questions/46627/…
    – fretje
    Apr 14, 2010 at 13:32
  • 3
    CASE OF EQUALS THE MONDAYS?
    – snicker
    Apr 14, 2010 at 19:27
  • Make it stop. If this were IRL you'd "get your ass kicked" forthwith!
    – user146860
    May 7, 2010 at 2:56
  • I don't get it. It's an ad. Can't you just ignore it?
    – beska
    Jun 28, 2010 at 14:08
  • And I thought it was just me, but got my question duped to this one ... now I see it's not just me ... I really hate ads but I understand that they want to make money ... but please could you exercise some final veto over the ad design? I guess we all got spoiled by Apple who makes sure that their users only get the best and the most beautiful stuff but still ...
    – stefanB
    Jul 2, 2010 at 0:08
  • 1
    And now a bounty??? How's that going to help? Oct 31, 2010 at 1:30
  • 2
    @George: I followed your advice. I'm bashing my head against the wall. Oct 31, 2010 at 9:39
  • ad blockers to the rescue! Apr 1, 2018 at 20:04

8 Answers 8

31

We are looking into whether this is possible--it depends mostly on AdZerk, our ad-serving provider. I think it's actually a good idea to put close boxes on ads which muffle a given ad (or a given advertiser?) for a particular user. If you don't like the ad or advertiser, there's no sense in showing it to you. And we could use the data we get back from this to identify ads that are inappropriate for our audience or unusually offensive, or to show you ads that you care more about.

29
+100

GET RID OF THE ADVERTISEMENT!!!

I hate it.

Solutions:

  • Send massive amounts of spam to Stack Overflow until they get rid of it (anyone want to make a spambot?)
  • Yell until your coworkers come to see what you are yelling at and then tell them to send massive amounts of spam to Stack Overflow
  • Bang your head against the wall until the doctor comes to examine your head. Then tell him to... oh you get the idea.
2
  • 7
    Uh, you seem to be getting overly upset about an image on the internet. What's the big deal? We see annoying adverts on the telly, hear them on the radio, etc. and we manage to ignore those.
    – Andy E
    Jun 28, 2010 at 12:03
  • 3
    @Andy: Ya but this is more than annoying - it's downright evil. Jun 29, 2010 at 5:39
13

You can't do this with Adblock Plus if you normally have it turned on for every site, but add an exception for stackoverflow. There's no way to add an exception to an exception.

Here is a greasemonkey script; unfortunately, the ad still flashes on screen for a second :(

// ==UserScript==
// @name           Remove case-of-the-mondays
// @namespace      http://example.com/
// @include        http://stackoverflow.com/
// ==/UserScript==

var crap = document.evaluate(
  "//img[@src='http://ads.stackoverflow.com/ads/case-of-the-mondays-careers.png']",
  document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null
);

for (var i=0;i<crap.snapshotLength;i++) {
   var img = crap.snapshotItem(i);
   img.parentNode.removeChild(img);
}

Seriously, does anyone like that ad? Can we just kill it please?

1
  • or you could just not whitelist the SO ads...
    – Kip
    Apr 14, 2010 at 13:13
12

Ask your friendly ad blocker to block that particular ad alone. From what I can see, each ad image has a different name, allowing you to block only that.

2
  • 2
    I guess an "ad blocker" falls under the same category as "grease monkey magic".
    – fretje
    Jan 18, 2010 at 11:06
  • 13
    Well, the monkey is hidden behind the blocker, so your hands won't be greasy :P
    – o.k.w
    Jan 18, 2010 at 11:11
8

Here's a Stylish "script". Like the Greasemonkey scripts, but without the delay.

@namespace url(http://www.w3.org/1999/xhtml);

img[src*=case-of-the-mondays-careers]
{
   display: none;
}
2
  • How would you include this script on each SO page?
    – Andomar
    Mar 24, 2011 at 10:39
  • It's now possible to avoid the delay in a userscript with most userscript engines, using @run-at document-start.
    – Luna
    Nov 12, 2012 at 20:57
5

Case of the Mondays is gone for good, with the switch from Careers to Careers 2.0.

3

Here's another GM script, this one uses JQuery to take the offending image out. Not that there's anything wrong with the other one, I just like tweaking these things.

// ==UserScript==
// @name           so-office-space-hater
// @namespace      so
// @description    Exclude Office Space ad from SO
// @include        http://stackoverflow.com/*
// ==/UserScript==
(function(){
  unsafeWindow.jQuery('img[src$="ads/case-of-the-mondays-careers.png"]').remove();
})();
1

I'm surprised no one has said this. You can use AdBlock Plus. Whitelist the site to allow ads. Right click the offending image and select block image (it should be last item in menu). A dialog pops up and you can select custom which will block only that specific image instead the the entire site or range.

4
  • 3
    That's what alex meant with "Ask your friendly ad blocker to block that particular ad alone."
    – balpha StaffMod
    Apr 11, 2010 at 18:22
  • oops. well, i'm surpise no one said to use adblock to get rid of it. although i did see one say you cant :|. which i have done many times. It isnt hard to find either.
    – user34537
    Apr 11, 2010 at 20:33
  • I don't see the Block Image option in the context menu. If I "disable ad-block on this page", all I get in the context menu is "Re-enable ad-block on this page". If instead I don't disable ad-block, but add an exception for "ads.stackoverflow.com", none of the ad images have "block image" in their context menus. Un-whitelisted images like the logo do though.
    – Blorgbeard
    Apr 12, 2010 at 8:25
  • your right. regex on whitelist doesnt work so it appears its impossible :(. I deserve a -1
    – user34537
    Apr 12, 2010 at 23:44

You must log in to answer this question.

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