Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 155 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

Basically like the all sites and inbox tabs, I'd like the hot questions tab to have an icon representing the site the questions belong to

share|improve this question
up vote 5 down vote accepted

I agree, this would be very useful.

You could try the following userscript:

// ==UserScript==
// @name           So Hot Images
// @namespace      http://josh.gitlin.name/javascripts  
// @description    Adds favicon images to the hot questions supercollider
// @version        1.0.2
// @include        http://*.stackoverflow.com/*
// @include        http://*.stackexchange.com/*
// @include        http://serverfault.com/*
// @include        http://superuser.com/*
// ==/UserScript==

var script = document.createElement("script");
script.textContent = "(" + grease.toString() + ")()";
document.body.appendChild(script);

function grease()
{
  var hotIcons = function ()
  {
    $('#seContainerHot div.itemBox').each(function(){
      if(!$('img.favicon',this).length)
      {
        var favicon=$('a.siteLink',this)[0].href+'favicon.ico';
        this.innerHTML = '<img class="favicon" src="'+favicon+'" style="float:left;">'+this.innerHTML
      }
    });
  };
  window.setInterval(hotIcons, 1000);
}

Link to install into Greasemonkey or Chrome tested on Chrome 15.0.874.106.

favicon fhc ftw!

Yes, I know this script could be improved. It probably doesn't have to run every second and the icons are on the wrong side. It was a super quick hack. But with a bit of motivation I could probably improve it... (hint, hint)

share|improve this answer

You must log in to answer this question.

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