117

This green square has just appeared. What is it for? There isn't any sponsored tag information on the tag page for it.

10
  • 25
    Just about to ask the same question. Presumably a bug.
    – S.S. Anne
    Commented Aug 6, 2019 at 0:10
  • 3
    Perhaps whoever uploaded it anticipated it would be applied as the background of the C# text like this. Commented Aug 6, 2019 at 1:52
  • 2
    not really adding much value as it is right now...
    – jazb
    Commented Aug 6, 2019 at 2:35
  • 7
    I suspect a tag promotion gone wrong. Commented Aug 6, 2019 at 2:44
  • 4
    Maybe it's supposed to be something like that - upload.wikimedia.org/wikipedia/commons/thumb/0/0d/…
    – stop-cran
    Commented Aug 6, 2019 at 6:05
  • 2
  • I wonder which one will be, but I'd really like to see none. C# text with C# icon next to it is really really useful (nope, it's not).
    – Sinatr
    Commented Aug 6, 2019 at 11:16
  • 2
    @Sinatr The same thing could be said about other sponsored tags. The point of sponsoring isn't to describe the tag but to make it stand out from others, as an image will usually be attractive to the eye than written text.
    – Treycos
    Commented Aug 6, 2019 at 12:41
  • I like it. It makes me feel like I'm getting constantly upvoted. Commented Aug 6, 2019 at 13:24
  • It seems fixed now and it broke my workflow.
    – grooveplex
    Commented Aug 6, 2019 at 14:30

3 Answers 3

40

Sorry for the confusion, I've been testing some backend changes and accidentally created a Tag Sponsorship with a test "logo" for C#.

2
  • 2
    And here was I thinking you were finally re purposing that to have the shiny logos of popular languages without sponsorship.
    – Mgetz
    Commented Aug 6, 2019 at 14:12
  • 36
    Don't you guys have a sandbox or something you can do this in? If not, you should create one.
    – S.S. Anne
    Commented Aug 6, 2019 at 14:26
29

Inside the tag:

<a href="/questions/tagged/c%23" class="post-tag" title="" rel="tag">c#</a>

This element has been added:

<img src="//i.sstatic.net/jkMwT.png" height="16" width="18" alt="" class="sponsor-tag-img">

enter image description here

Given its a registered CSS class, looks like a feature advert/logo dropped early or we're all the A/B testers.

16
  • 19
    Not a new feature; sponsored tags are already a thing. This looks like either the C# tag is going to be sponsored, but had issues with uploading the logo or somehow C# was accidentally marked as sponsored when it's not
    – Rob Mod
    Commented Aug 6, 2019 at 5:44
  • 1
    When a tag is sponsored, is there nothing added to the tag page to explain who's sponsoring it? I can't see anything in this case, but I also can't see anything on the other sponsored tags that show up on my homepage (Angular, Flutter).
    – Rawling
    Commented Aug 6, 2019 at 6:33
  • 1
    @Rawling the shown logo (copyright) is the sponsor, so in angular's case, it's Angular/Google team, the same for Android/Google team for android, or Microsoft for sql-server. See also: Aspose sponsors 'file' and 'file-io' tags
    – Andrew T.
    Commented Aug 6, 2019 at 6:46
  • 1
    @AndrewT.: But you'd have to know the logo. If you don't know the logo, you don't know who's sponsoring the tag. Then, it'd be nice to have a link to the sponsor.
    – Cerbrus
    Commented Aug 6, 2019 at 7:02
  • 10
    @Cerbrus it is obvious the sponsor is The Greenery
    – rene
    Commented Aug 6, 2019 at 7:08
  • @Cerbrus I should have stated it differently: the tag logo is only shown for the copyright owner. I didn't know SQL Server's logo until I googled "SQL Server" and saw its logo, and since SQL Server is owned by Microsoft, then it's also sponsored by Microsoft. So, I believe in this case if C#'s tag logo is just buggy (but really sponsored), then it should be sponsored by Microsoft too.
    – Andrew T.
    Commented Aug 6, 2019 at 7:12
  • @AndrewT. That's up to MS if they want to pay for a sponsorship. That still doesn't mean it's obvious what company the logo is attached to, though... If one doesn't know who owns the copyright, how is that logo of any use?
    – Cerbrus
    Commented Aug 6, 2019 at 7:15
  • @Cerbrus yeah, I see your point, consider opening a new feature request for that one...
    – Andrew T.
    Commented Aug 6, 2019 at 7:16
  • 9
    So are we concluding this is obviously the wrong icon and we should just wait for the correct icon to be uploaded/assigned? Or is this how it is supposed to be? Because if it is the latter, then this will be the first time I go looking for a greasemonkey script to hack Stack Overflow as the green square sticks out as a pretty sore thumb right now, all over the front page. Commented Aug 6, 2019 at 7:18
  • 6
    @LasseVågsætherKarlsen: Option 1. Stuff like this has happened with sponsored tags before. It's usually fixed within 6-8 weeks.
    – Cerbrus
    Commented Aug 6, 2019 at 7:21
  • @Cerbrus OK, good, I was afraid it would be like this forever ;) Commented Aug 6, 2019 at 7:22
  • @Cerbrus nothing like jumping on problems in a timely fashion
    – Caius Jard
    Commented Aug 6, 2019 at 7:44
  • 1
    @Cerbrus when other people respond to your 6-8 weeks in-joke seriously :(
    – Ian Kemp
    Commented Aug 6, 2019 at 10:30
  • 4
    Man, those 6-8 weeks flew by!
    – S.S. Anne
    Commented Aug 6, 2019 at 14:25
  • 5
    Please note, that "6-8 weeks" is a joke. Usually, these tag sponsorship things get handled within a day.
    – Cerbrus
    Commented Aug 6, 2019 at 15:08
2

If it bothers you, you can remove it by any variety of methods. Here's how I did it in Chrome using a scrappy bit of JS as an extension:

  • Create a folder somewhere
  • Create a manifest.json inside it
  • Create a content_script.js inside it

Set the content of manifest.json to be:

{
    "name": "Remove C# foliage",
    "version": "1.0",
    "description": "Remove C# foliage",
    "manifest_version": 2,
    "content_scripts": [
        {
            "matches": ["*://stackoverflow.com/*"],
            "js": ["/content_script.js"]
        }
    ]
}

Set the content of content_script.js to be:

var matches = document.querySelectorAll('img[src*="//i.sstatic.net/jkMwT.png"]');

matches.forEach(function(match) {
  match.parentElement.removeChild(match);
});
  • Navigate to chrome://extensions
  • Activate developer mode
  • Choose Load Unpacked and navigate to the folder where your files are

I don't know if the new extension applies to existing tabs; you may have to restart your chrome. After the document loads, all the green squares will show briefly then disappear. This targets that specific, ugly icon so if a new icon is uploaded to imgur and the site code is adjusted, it won't touch it and the new icon stays. If they change the image at the end of the same URL you'll see the image briefly then it'll disappear. Either of these events can signal you to remove this extension, which is a simple "click on its icon on the tool bar, click REMOVE"

I don't claim to be a JS pro; there may be better/more efficient ways of doing this (and I gladly accept comments on this answer for how to improve things). There may even be some sort of chrome *blocking extension that can do this already..

16
  • 3
    It's almost certainly a mistake, I don't think doing this is much use right now.
    – DavidG
    Commented Aug 6, 2019 at 8:42
  • Indeed, though going from Cerbrus's comment of "It's usually fixed within 6-8 weeks" - I'd rather take 60 seconds to do this now, than look at that square for 2 months :)
    – Caius Jard
    Commented Aug 6, 2019 at 8:48
  • 3
    If it bothers you, you can remove it If its a bug (and it is) they should fix it. Now! Messing with internals makes no sense; when it is fixed your workaround will persist, right?
    – TaW
    Commented Aug 6, 2019 at 8:52
  • @TaW I agree, they should fix it now.. But you work in software, right? How many things on your "list of things that users want fixed NOW" - 100? 500? I don't have control over the SO team to fix this issue, so I just made a workaround and posted it up in case someone else finds it useful.. It persists after they fix the issue, but you'll know when they fix it: either the c# tag will gain a new icon that stays (this targets only the specific image), or it gains a new icon that shows briefly then disappears (new image, same url) - removing this hack takes two clicks, can be done any time..
    – Caius Jard
    Commented Aug 6, 2019 at 9:03
  • 2
    can be done any time unless one forgets ;-)
    – TaW
    Commented Aug 6, 2019 at 9:07
  • No-one has a gun to your head forcing you to install it. I didn't claim it was perfect (feel free to update it to include a nag screen if the "You have developer mode extensions" nag from Chrome isn't enough) but if you don't routinely clean up your extensions/PC then you'll have to suffer the fractional performance impact it causes. All these "problems" you're inventing are not for me to solve; perhaps stop trying to make argument for argument's sake. If you feel passionately about the green square please direct your energies at lobbying SO to fix it up
    – Caius Jard
    Commented Aug 6, 2019 at 9:10
  • 1
    I'm guessing the green box will either be fixed to show the correct logo or removed within a day. Maybe if it stayed up for a week a workaround like this would make some sense, but this seems like an overreaction.
    – JLRishe
    Commented Aug 6, 2019 at 9:13
  • @jlrishe Indeed, though going from Cerbrus's comment of "It's usually fixed within 6-8 weeks" - I'd rather take 60 seconds to do this now, than look at that square for 2 months. I was also interested to "write my first extension". Of course, you're free to not do it.. :)
    – Caius Jard
    Commented Aug 6, 2019 at 9:16
  • 1
    I don't subscribe to the "Ugh, horrible green square that I need to look at for ages". It's only a green square, it's tiny and you'll get used to it in no time. Why is that one so offensive to you, but if it was an official logo, this wouldn't even have come up?
    – DavidG
    Commented Aug 6, 2019 at 9:20
  • Erm, because I'm an individual who is different to you, with my own opinions and thoughts.. One of which is "that's hideous". It might well also have come up if McDonalds started sponsoring C# to try and get programmers to eat more big macs. Pretty sure I'd strip the M out too. Wonderful thing this freedom of choice - I'm free to choose to dislike it and make changes. I'm free to share it with others. They're free to adopt it if they want. Seems they're also free to criticize my point of view - but who's the bad guy in all that freedom? I'm not forcing anything;see the answer's first 4 words..
    – Caius Jard
    Commented Aug 6, 2019 at 9:24
  • 2
    Just in case anyone's unaware, the 6-8 weeks mentioned by Cerbrus is a thing, not to be taken as a real estimate of when things actually get done. Commented Aug 6, 2019 at 9:25
  • 1
    I was more referring to the knee-jerk reaction to change, than the actual change itself. Yeah, I wouldn't like the green box if it was something that was going to stay, but it's not going to stay.
    – DavidG
    Commented Aug 6, 2019 at 9:48
  • 3
    If all of these tag icons bother you. Change the selector to img.sponsor-tag-img!
    – mekb
    Commented Aug 6, 2019 at 10:29
  • 2
    It's not breaking bug or anything what normal users (me including) can not live with until guy who did mistake will fix it. To me this answer is like "show off", especially when coupled with "I am not pro" ;) Of course you are and you know it. And if you are mechanic you can probably quickly fix a car which breaks after 1000 km, but that's not the point.
    – Sinatr
    Commented Aug 6, 2019 at 11:26
  • 2
    Yea, that "6-8 weeks" is a joke. Usually, these tag sponsorship things get handled within a day.
    – Cerbrus
    Commented Aug 6, 2019 at 15:08

You must log in to answer this question.

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