Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot set highlight color alpha to zero #1491

Open
DiFFoZ opened this issue Apr 23, 2024 · 1 comment
Open

Cannot set highlight color alpha to zero #1491

DiFFoZ opened this issue Apr 23, 2024 · 1 comment
Labels

Comments

@DiFFoZ
Copy link

DiFFoZ commented Apr 23, 2024

Describe the bug
No emotes shown typed by users, but if typing myself then it will show.

To Reproduce
Steps to reproduce the behavior:

  1. Go to online stream.
  2. See error on console.

Expected behavior
Emotes should show.

Environment:

  • OS: Linux mint
  • Browser Google Chrome 124
  • Other Extensions: uBlock origin

FFZ Logs (via FFZ Control Center > Home > Feedback >> Log): https://pastebin.com/kWVa7bbi

Additional context
Opening console, I see the error popup when someone typing emote name:

FFZ [site.chat.chat_line]: DOMException: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The canvas has been tainted by cross-origin data.
    at RGBAColor.fromName (https://cdn.frankerfacez.com/script/avalon.js?_=1713867996509:301:47608)
    at RGBAColor.fromCSS (https://cdn.frankerfacez.com/script/avalon.js?_=1713867996509:301:47795)
    at Object.process (https://cdn.frankerfacez.com/script/avalon.js?_=1713867996509:170:7503)
    at S._get (https://cdn.frankerfacez.com/script/avalon.js?_=1713867996509:300:18361)
    at S.get (https://cdn.frankerfacez.com/script/avalon.js?_=1713867996509:300:18970)
    at _.process (https://cdn.frankerfacez.com/script/avalon.js?_=1713867996509:220:2888)
    at _.tokenizeMessage (https://cdn.frankerfacez.com/script/avalon.js?_=1713867996509:171:17724)
    at x.ffzNewRender (https://cdn.frankerfacez.com/script/avalon.js?_=1713867996509:247:3159)
    at Es (https://static.twitchcdn.net/assets/vendor-c759dc8fc17d69cf50b2.js:1:1029939)
    at Ss (https://static.twitchcdn.net/assets/vendor-c759dc8fc17d69cf50b2.js:1:1029737)
@DiFFoZ DiFFoZ added the bug label Apr 23, 2024
@DiFFoZ
Copy link
Author

DiFFoZ commented Apr 23, 2024

After some debugging I found out it is because of my highlight settings color "rgba(0,0,0,0)". For some reason, FFZ doesn't allow me to set alpha to zero.

@DiFFoZ DiFFoZ changed the title DOMException: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The canvas has been tainted by cross-origin data. Cannot set highlight color alpha to zero Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant