Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果在 Firefox 扩展中我写:
gBrowser.contentDocument.getElementsByTagName('html')[0].innerHTML = "†";
我得到一个�字符。
关于如何解决这个问题的任何想法?
在目标页面的编码中写入字符,或使用 HTML 实体††
†