Since you are using Firefox:
Code:
var theTitle = document.getElementsByClassName("title")[0].innerHTML;
This assumes that there is only one element with
class="title" or at least that the one you want is the first such.
If that's not the case, we could do it by finding that class nested within the <div> with id="displaypage-overview-details". Thus;
Code:
var theTitle = document.getElementById("displaypage-overview-details")
.document.getElementsByClassName("title")[0]
.innerHTML;
Xelawho: Works, but why do it? Since he is using FF you *know* that getElementsByClassName is available.