Mein Skript sieht so aus:
JavaScript
		
					
				//  FavIconInUrlBar.uc.js
(function() {
    if (location != 'chrome://browser/content/browser.xhtml')
        return;
    
    var fav = document.createXULElement('image');
    fav.setAttribute('id', 'faviconid');
    fav.setAttribute('class', 'faviconclass');
    gBrowser.tabContainer.addEventListener('TabAttrModified', function() {
     
    var favicon = gBrowser.selectedTab.image;
      
    if (favicon)
    {    
        fav.src = favicon;
                
        var position = document.getElementById('tracking-protection-icon-box');
        position.parentNode.insertBefore(fav, position);
    }
    else
    {
        fav.removeAttribute('src');
    }
    
 }, false);
})();Die CSS-Regel habe ich in eine eigene CSS-Datei ausgelagert:
 
		
		
	











