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

Tailchat Nightly部分群组和私聊会出现黑白色的bug || Tailchat Nightly has black and white bugs in some groups and private chats #252

Closed
Github-DHEnry opened this issue Aug 30, 2024 · 4 comments

Comments

@Github-DHEnry
Copy link

Github-DHEnry commented Aug 30, 2024

不知道如何解决
image


Don't know how to solve it
image

@github-actions github-actions bot changed the title Tailchat Nightly部分群组和私聊会出现黑白色的bug Tailchat Nightly部分群组和私聊会出现黑白色的bug || Tailchat Nightly has black and white bugs in some groups and private chats Aug 30, 2024
@moonrailgun
Copy link
Contributor

any trigger? maybe because some group added style css code and change global style?

maybe you can share me which group id will make browser looks like this?

@wyf9
Copy link

wyf9 commented Sep 1, 2024

I think someone sent message like:

[md]
<style type="text/css">
html {
  filter:grayscale(100%);
  -webkit-filter:grayscale(100%);
  -moz-filter:grayscale(100%);
  -ms-filter:grayscale(100%);
  -o-filter:grayscale(100%);
 filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);
  -webkit-filter:grayscale(1)
}
</style>
[/md]

It looks like:

image

can send message below to resolve (or change current group):

[md]
<style type="text/css">
html {
  filter:grayscale(0%);
  -webkit-filter:grayscale(0%);
  -moz-filter:grayscale(0%);
  -ms-filter:grayscale(0%);
  -o-filter:grayscale(0%);
 filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=0);
  -webkit-filter:grayscale(0)
}
</style>
[/md]

@moonrailgun
Copy link
Contributor

ok interesting. i will fix it.

@wyf9
Copy link

wyf9 commented Sep 1, 2024

image

you can limit markdown feature in tailchat, like disable <html> tag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants