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;
More Related Contents:
- Adding The Anchor Text As The Title Dynamicaly
- How can I get the title of a webpage given the url (an external url) using JQuery/JS
- How to get the title of HTML page with JavaScript?
- Changing the page title with Jquery
- Dynamically adding div on button click and changing Id of each?
- How to make page loaders/animations/transitions
- Get specific text from html tag jquery [duplicate]
- How can I use backslashes (\) in a string?
- How do I redirect with JavaScript? [duplicate]
- How can I read the client’s machine/computer name from the browser?
- How to build PDF file from binary string returned from a web-service using javascript
- What’s the difference between window.location= and window.location.replace()?
- Open URL in same window and in same tab
- How do I add an “Add to Favorites” button or link on my website?
- How to check in Javascript if one element is contained within another
- Google Maps API V3 : How show the direction from a point A to point B (Blue line)?
- Run change event for select even when same option is reselected
- How to copy a row from one google spreadsheet to another google spreadsheet using google apps script?
- from green to red color depend on percentage
- When is it appropriate to use a constructor in REACT?
- querySelector search immediate children [duplicate]
- How does javascript logical assignment work?
- How to add one event listener for all buttons
- Is dispatchEvent a sync or an async function
- Multiple schema references in single schema array – mongoose
- How to select line of text in textarea
- WebSocket on IE10 giving a SecurityError
- simplest cross-browser check if protocol handler is registered
- JavaScript Namespace Declaration
- Use a web mobile framework?