Canop/miaou

Chat is empty when using ghostery or darkreader

Stargateur opened this issue · 3 comments

The site load but all is empty for if any of darkreader or ghosterry are enable, console log when open https://miaou.dystroy.org/3490?broot:

jQuery.Deferred exception: skin.stringToColour is not a function r@https://miaou.dystroy.org/static/miaou.min.js?v=56:1:62285
md.addMessage@https://miaou.dystroy.org/static/miaou.min.js?v=56:1:69724
chat.messagesIn/<@https://miaou.dystroy.org/static/miaou.min.js?v=56:1:10760
chat.messagesIn@https://miaou.dystroy.org/static/miaou.min.js?v=56:1:10580
chat.start@https://miaou.dystroy.org/static/miaou.min.js?v=56:1:11562
@https://miaou.dystroy.org/static/pad.min.js?v=04:1:2183
miaou/<@https://miaou.dystroy.org/static/miaou.min.js?v=56:1:34
l@https://miaou.dystroy.org/static/jquery-3.3.1.min.js:2:29375
a/</c<@https://miaou.dystroy.org/static/jquery-3.3.1.min.js:2:29677
 undefined

Uncaught TypeError: skin.stringToColour is not a function
    r https://miaou.dystroy.org/static/miaou.min.js?v=56:1
    addMessage https://miaou.dystroy.org/static/miaou.min.js?v=56:1
    messagesIn https://miaou.dystroy.org/static/miaou.min.js?v=56:1
    messagesIn https://miaou.dystroy.org/static/miaou.min.js?v=56:1
    start https://miaou.dystroy.org/static/miaou.min.js?v=56:1
    <anonymous> https://miaou.dystroy.org/static/pad.min.js?v=04:1
    miaou https://miaou.dystroy.org/static/miaou.min.js?v=56:1
    jQuery 2
        l
        c

Uncaught TypeError: skin.stringToColour is not a function
    r https://miaou.dystroy.org/static/miaou.min.js?v=56:1
    addMessage https://miaou.dystroy.org/static/miaou.min.js?v=56:1
    messagesIn https://miaou.dystroy.org/static/miaou.min.js?v=56:1
    messagesIn https://miaou.dystroy.org/static/miaou.min.js?v=56:1
    emit https://miaou.dystroy.org/socket.io/socket.io.js:6
    onevent https://miaou.dystroy.org/socket.io/socket.io.js:8
    onpacket https://miaou.dystroy.org/socket.io/socket.io.js:8
    exports https://miaou.dystroy.org/socket.io/socket.io.js:8
    emit https://miaou.dystroy.org/socket.io/socket.io.js:6
    ondecoded https://miaou.dystroy.org/socket.io/socket.io.js:6
    exports https://miaou.dystroy.org/socket.io/socket.io.js:8
    emit https://miaou.dystroy.org/socket.io/socket.io.js:6
    add https://miaou.dystroy.org/socket.io/socket.io.js:6
    ondata https://miaou.dystroy.org/socket.io/socket.io.js:6
    exports https://miaou.dystroy.org/socket.io/socket.io.js:8
    emit https://miaou.dystroy.org/socket.io/socket.io.js:6
    onPacket https://miaou.dystroy.org/socket.io/socket.io.js:6
    setTransport https://miaou.dystroy.org/socket.io/socket.io.js:6
    emit https://miaou.dystroy.org/socket.io/socket.io.js:6
    onPacket https://miaou.dystroy.org/socket.io/socket.io.js:7
    onData https://miaou.dystroy.org/socket.io/socket.io.js:7
    onmessage https://miaou.dystroy.org/socket.io/socket.io.js:8

miaou.min.js:1:62285
    r https://miaou.dystroy.org/static/miaou.min.js?v=56:1
    addMessage https://miaou.dystroy.org/static/miaou.min.js?v=56:1
    messagesIn https://miaou.dystroy.org/static/miaou.min.js?v=56:1
    forEach self-hosted:225
    messagesIn https://miaou.dystroy.org/static/miaou.min.js?v=56:1
    emit https://miaou.dystroy.org/socket.io/socket.io.js:6
    onevent https://miaou.dystroy.org/socket.io/socket.io.js:8
    onpacket https://miaou.dystroy.org/socket.io/socket.io.js:8
    exports https://miaou.dystroy.org/socket.io/socket.io.js:8
    emit https://miaou.dystroy.org/socket.io/socket.io.js:6
    ondecoded https://miaou.dystroy.org/socket.io/socket.io.js:6
    exports https://miaou.dystroy.org/socket.io/socket.io.js:8
    emit https://miaou.dystroy.org/socket.io/socket.io.js:6
    add https://miaou.dystroy.org/socket.io/socket.io.js:6
    ondata https://miaou.dystroy.org/socket.io/socket.io.js:6
    exports https://miaou.dystroy.org/socket.io/socket.io.js:8
    emit https://miaou.dystroy.org/socket.io/socket.io.js:6
    onPacket https://miaou.dystroy.org/socket.io/socket.io.js:6
    setTransport https://miaou.dystroy.org/socket.io/socket.io.js:6
    emit https://miaou.dystroy.org/socket.io/socket.io.js:6
    onPacket https://miaou.dystroy.org/socket.io/socket.io.js:7
    onData https://miaou.dystroy.org/socket.io/socket.io.js:7
    onmessage https://miaou.dystroy.org/socket.io/socket.io.js:8

Uncaught DOMException: CSSStyleSheet.rules getter: Not allowed to access cross-origin stylesheet miaou.min.js:1
    getCssValue https://miaou.dystroy.org/static/miaou.min.js?v=56:1
    <anonyme> https://miaou.dystroy.org/static/miaou.min.js?v=56:1
    miaou https://miaou.dystroy.org/static/miaou.min.js?v=56:1
    jQuery 2

Some cookies are misusing the recommended “sameSite“ attribute 2
Cookie “io” will be soon rejected because it has the “sameSite” attribute set to “none” or an invalid value, without the “secure” attribute. To know more about the “sameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite socket.io
Cookie “io” will be soon rejected because it has the “sameSite” attribute set to “none” or an invalid value, without the “secure” attribute. To know more about the “sameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite socket.io

Firefox: 79.0 (64-bit)

Error log look the same for the two extensions when enable.

Same, empty on firefox, ok on chromium

maxzor@mada:~$ firefox -v
Mozilla Firefox 117.0
maxzor@mada:~$ gnome-shell --version
GNOME Shell 3.36.9

Screenshot from 2023-09-10 01-16-23

@Maxzor Is your Firefox test with extensions ? What's the error in the console ?