Node-red-dashboard read the ui title

Real simple question...is 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");

Thanks!

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

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.