I am working on a browser extension for which I need to know the current tab title. I manage to find the title from the the HTML page code but, from after documenting more about this I have found that there are easier ways to do this.
I have tried the following ways:
selectedTabTitle = $(ui.tab).text();
and
selectedTabTitle = document.title;
but neither work. I must note that I am using kango-framework to make this extension.