Legacy. Use document.title instead. When setting, does same as textContent. When getting, gets a concatenated version of all of the child text nodes of a title element.
Property of dom/HTMLTitleElementdom/HTMLTitleElement
Syntaxvar titleText = titleElement.text;
titleElement.text = newTitleText;
Return Value
Returns an object of type StringString
A concatenation of all of the child text nodes of the element.
ExamplesThe following script gets the text of the title element, changes “r” to “t” and sets the text back.
var title = document.getElementsByTagName("title")[0];
title.text = title.text.replace("r", "t");
Usage
Legacy. Use document.title instead.
Use this property to get a concatenated version of all of the child text nodes of a title element. Setting this property works the same way as setting the textContent property.
NotesRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4