I\'m trying to get the plain html page title with javascript.
I use firefox and with
document.title
I get extra \"- Mozilla Firef
One option from DOM directly:
$(document).find("title").text();
Tested only on chrome & IE9, but logically should work on all browsers.
Or more generic
var title = document.getElementsByTagName("title")[0].innerHTML;