。
:O
私訊
div.btn-container
.c3> btn-container > a > button
#topic-tell-user > .tell-text
document.querySelector("").
.textContent
.innerHTML
.value
var 聲明是全局作用域或函數作用域,而 let 和 const 是塊作用域。 var 變量可以在其範圍內更新和重新聲明; let 變量可以被更新但不能重新聲明; const 變量既不能更新也不能重新聲明。它們都被提升到其作用域的頂端。
https://chinese.freecodecamp.org/news/javascript-var-let-and-const/
(js多行字符串获取每一行)https://segmentfault.com/q/1010000007824436
https://www.w3schools.com/js/js_htmldom_elements.asp
https://developer.mozilla.org/en-US/docs/Web/API/Document/writeln
https://www.fooish.com/javascript/string/substr.html
https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/String/split
https://pclevinblog.pixnet.net/blog/post/314562427
(innerHTML)https://www.wibibi.com/info.php?tid=400
(querySelectorAll)https://ithelp.ithome.com.tw/articles/10211614
(How to add a line break in JavaScript?)https://stackoverflow.com/questions/58957239/how-to-add-a-line-break-in-javascript
https://codertw.com/%E5%89%8D%E7%AB%AF%E9%96%8B%E7%99%BC/200101/
a[i].textContent =a[i].textContent.substr(2,a[i].textContent.length);
var el = document.querySelectorAll(".NewStringBox > font");
document.querySelector(".NewStringBox").textContent = '';
var f = document.createElement('font');
for(var i=0; i