Node-red-dashboard read the ui title

Real simple there a way to retrieve in javascript the site title as set in the site dashboard tab? I'd like to retrieve the value of this so I can use it for status reporting and such. So the equvalent of mysite=global.get("sitetitle");


Use the browsers Devtools to get an accurate selector (right click the item, inspect, right click the HTML, copy -> selector) then you can use jQuery $("#id-or-selector-of-title").text() to get it's text.

This isn't an element on the page. It's in the header between the brackets.

Then use document.title