Ich hab mit diesem Code einen Teilerfolg erzielt:
JavaScript
		
					
				//    83_bookmarkbuttonF95.uc.js
//    Idee: Mira_Belle hier:
//    https://www.camp-firefox.de/forum/thema/135613-quicklink-button/
//
//    Umsetzung: diverse im Laufe des Threads, primär BrokenHeart
//
//    Anpassungen für den persönlichen Bedarf: Fortuna Düsseldorf
(function() {
    if (!window.gBrowser){
        return;
    }
    try {
       CustomizableUI.createWidget({
          id: 'link-buttonF95',
          type: 'custom',
          defaultArea: CustomizableUI.AREA_NAVBAR,
          onBuild: function(aDocument) {         
            var currentProfileDirectory = Services.dirsvc.get("ProfD", Ci.nsIFile).path.replace(/\\/g, "/");
            var toolbaritem = aDocument.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', 'toolbarbutton');
            toolbaritem.onclick = event => onClick(event);
            var props = {
                id: 'link-buttonF95',
                class: 'toolbarbutton-1 chromeclass-toolbar-additional',
                removable: 'true',
                label: 'QuicklinkF95',
                accesskey: '',
                tooltiptext: 'Quicklinks: F95',
                style: 'list-style-image: url("' + ("file:" + currentProfileDirectory + "/chrome/icons/F95_2.png") + '");',
             };            
             for (var p in props)
                toolbaritem.setAttribute(p, props[p]);            
             return toolbaritem; 
          }      
       });
    } catch(e) { };
    function onClick(event) 
    {
        if (openNewWindow = false) {
            event.target.ownerGlobal.openTrustedLinkIn('https://www.antenneduesseldorf.de/service/radioplayer.html?radiochannel=live',"tab");
            event.target.ownerGlobal.openTrustedLinkIn('https://www.bundesliga.com/de/2bundesliga/spieltag',"tab");
            event.target.ownerGlobal.openTrustedLinkIn('https://www.bundesliga.com/de/2bundesliga/tabelle',"tab");
        }
        else {
            event.target.ownerGlobal.openTrustedLinkIn('https://www.antenneduesseldorf.de/service/radioplayer.html?radiochannel=live',"current");
            event.target.ownerGlobal.openTrustedLinkIn('https://www.bundesliga.com/de/2bundesliga/spieltag',"tab");
            event.target.ownerGlobal.openTrustedLinkIn('https://www.bundesliga.com/de/2bundesliga/tabelle',"tab");
        }
    }    
}) ();
	
			Alles anzeigen
	Wenn ich nun den Button kliicke, wird der aktive TAB überschrieben und 2 weitere geöffnet.
if (openNewWindow = false) greift also nicht und öffnet kein neues Fenster für die 3 TABs.
Was mache ich falsch?