Open New Window/Tab via API

Thanks for the sugestion! I have checked the thread you linked and added a , target:'_blank' to api.changeWidgetSetting. Unfortunately this causes an error and clicking on the top logo takes you back to discourse homepage -