Tartışmalar » Greasy Fork Geri Bildirimi

Sometimes Wrong Arrow Rendered due to CSS file charset

§
Gönderildi: 25.06.2023

Problem

Screenshot: img

Correct:

nav .with-submenu>a:after {
    content: " ▾"
}

Incorrect:

nav .with-submenu>a:after {
    content: " â–¾"
}

Sometimes it may happen. When I opened another tab to load the same page, issue gone. For the same tab, reload would not help as the css file is cached.

I guess it is because the charset of the CSS file.

Suggested Solution

Suggest to change " ▾" to " \25be"

§
Gönderildi: 25.06.2023
Düzenlendi: 25.06.2023

I have the same issue. The symbol is broken sometimes. There was also another weird css issue: on a user page a scripts ratings are shifted to the right, but it's also rare, is also being fixed by refreshing the page, and I couldn't figure out why it's happening so I wasn't bothered reporting it

§
Gönderildi: 01.09.2023

I made a trial script to help fix the issue. Need time to see the result.

https://greasyfork.org/en/scripts/474345-greasy-fork-fix-wrong-charset-css

§
Gönderildi: 04.11.2023

This should be fixed now. It was a missing directive in the nginx config. I believe browsers try to automatically detect/fix issues like this, which may explain why it only happened sometimes.

Cevap paylaş

Yanıt göndermek için oturum açın.