Get raw title as defined in the HTML markup with JavaScript

前端 未结 0 1250
情话喂你
情话喂你 2020-12-11 02:29

If I have a title with multiple consecutive spaces, document.title returns a string with a single space for each such space combo.

Example:
&

相关标签:
回答
  • 消灭零回复
提交回复
热议问题