Skip to content

[Broken Website] Improve dark theme detection at simplywall.st #15374

@arturstat

Description

@arturstat

Prerequisites

  • I searched for any existing report about this website issue to avoid opening a duplicate.
  • I can reproduce this website issue in a new, unmodified web browser profile with Dark Reader installed as the only extension.

Website Issue Description

Parts of the website have a dark theme while others don't and have to be processed through dark reader.
Dark theme detection using Dark Reader is unreliable and inconsistent.

Website Address

https://simplywall.st/

Steps To Reproduce

To reproduce the issue would require creating an account and logging in.
Which is perhaps not very practical.

Screenshots

See -> https://simplywall.st/markets/insights

Image

This webpage has a native dark theme which can be defined after login.
This is a screenshot of the webpage with its native dark theme.

Operating System

Microsoft Widows 11

Web Browser name and version

Microsoft Edge Version 148.0.3967.83 (Official build) (64-bit)

Dark Reader version

4.9.125

Additional Context

The website has a data-theme attribute under the body selector.
I have manually added the following code to the Hints Detector Editor:

simplywall.st

TARGET
body

MATCH
[data-theme="dark"]

With this code Dark Reader successfully ignores pages that have a dark theme and darkens pages which don't have any theme defined at all.
Please add this code to Dark Reader making the fix more permanent.
Thank you!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions