CodeforcesPP icon indicating copy to clipboard operation
CodeforcesPP copied to clipboard

Colored texts become uncolored after applying custom style

Open jaxvanyang opened this issue 3 years ago • 0 comments

Describe the bug Colored texts become uncolored after applying custom style, see screenshots for clarification.

To Reproduce Steps to reproduce the behavior:

  1. Open https://codeforces.com/contest/1624/problem/D
  2. Without custom style you can see the colored texts
  3. With custom style, you can see colored texts in about 10 seconds, after that colored texts become uncolored

Expected behavior Texts that are colored with the extension should be colored with the extension.

Screenshots

Native:

Screenshot_20220111_102716

With custom style: Screenshot_20220111_104206

after a while Screenshot_20220111_103620

Dark theme: Screenshot_20220111_103516

after a while Screenshot_20220111_103540

Details:

  • Which browser: Edge
  • Codeforces++ version: v2.3
  • I am using the
    • [ ] Browser Extension
    • [ ] Userscript
      • My userscript manager is: [e.g. Tampermonkey, Violentmonkey, ...]

Additional context At first the color is colored, I read the web log, changing shows up after Codeforces' log: Initialized window.changedTests.. Codeforces++'s log, Codeforces++ is running! shows up before that. So I guess Codeforces++ finished its work, but Codeforces override it. Maybe it's not right, just an idea.

jaxvanyang avatar Jan 11 '22 02:01 jaxvanyang