how do i get the page title from a url in javascript code example
Example 1: javascript change page title
document.title = "My New Page Title"; //change/set page title in JavaScript
Example 2: get current page title javascript
document.querySelector("title").innerText