Skip to main content
1 of 2
Caius Jard
  • 74.4k
  • 19
  • 26

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 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.

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..

Caius Jard
  • 74.4k
  • 19
  • 26