vyznev / chatjax

ChatJax++, a user script to enable MathJax in Stack Exchange chat
ISC License
7 stars 3 forks source link

MathJax doesn't render in new chat messages #2

Open diazona opened 7 years ago

diazona commented 7 years ago

The rendering of new messages isn't working for me. When I open a chat room, ChatJax++ will happily render MathJax in messages that have already been posted to that room, but then when new messages come in, I only see the markup.

I've tried this in two chat rooms associated with Physics (The h Bar and Physics Meta), and in both Chromium/Tampermonkey and Firefox/Greasemonkey (both on Linux), both with me posting the message and with someone else doing it. In Chromium, nothing appears in the Javascript console. In Firefox, I get nothing that seems relevant, but there is error message that appears sometimes in the browser console,

Firefox can’t establish a connection to the server at             physics-meta:183:15
wss://chat.sockets.stackexchange.com/events/13775/
4ea1ae071b43450ebaa3aa9d0abfefd4?l=67779718.

(the line breaks are not part of the message) and a bunch of diagnostic messages

Sending message that cannot be cloned.                       MessageChannel.jsm:657:6
Are you trying to send an XPCOM object?

and

2/2/2017, 7:20:28 PM - Received message:                                  pb.js:39:9
Object { type: "nop" }

and

“nsICookieManager.remove()” is changed. Update your code and           HTTPS.js:174:6
pass the correct originAttributes. Read more on MDN: 
https://developer.mozilla.org/docs/Mozilla/Tech/XPCOM/Reference/
Interface/nsICookieManager

I have script blockers in place but they indicate they're not blocking anything on the chat sites.

If any other information would be useful, let me know and I'll do my best to provide it.