Closed Suchty112 closed 3 years ago
Also the username is removed
A possible solution: Change: messageHeader.innerText = '[' + timeStampModified + ']'; to: messageHeader.firstChild.textContent = '[' + timeStampModified + '] ';
Don't forget the spaces for the space between date and first icon
Also new messages aren't edited
For new messages, date
instead of date_hidden
needs to be modified.
For existing chatMessages, we could get the textNode which is [XX:XX]
and modify that one. Should be the easiest way to do that.
A way to get all TextNodes within a specific element can be found in /src/utils.ts
. The generalExtensions' setting "clickableLinks" makes use of such a function. We just need to adjust that one to make recursive node finding optional :)
Done with #220 if further issues are detected, reopen or create new issue!
Describe what happens the @ and /w symbol and username have been removed by activating chat extras
How to reproduce? Activate the new addon chatextras
Expected behavior What did you expect LSS-Manager to do?
Screenshots
Further notes: (please complete)
Further Add further notes here