How do I take text contained in web page and make it part of the page title?
问题 I desperately need help with writing a Tampermonkey/Greasemonkey script that takes part of the information within the web page and makes it part of the page (and window) title. A client's name is part of the target (internal) web page, and clearly labeled within the HTML: <div id="patient-info" class="ehr-patients-info"> <div id="patient-identification"> <span title="" id="patient-name"> Johnnyfirst Smithylast </span> </div> ... I want to add the text "Johnnyfirst Smithylast" to the window