this post was submitted on 18 Jul 2024
612 points (98.1% liked)

Technology

59207 readers
3102 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] hsdkfr734r@feddit.nl 99 points 3 months ago (4 children)

Dark Reader Plugin already solved that issue.

[–] deranger@sh.itjust.works 165 points 3 months ago (3 children)

Native dark modes are better and have much less of a performance impact. It’s good as a stop gap though.

[–] tal@lemmy.today 34 points 3 months ago* (last edited 3 months ago) (1 children)

Native dark modes are better

Agreed. Well, I don't know if it'd deal with random images as well, as users can upload those.

and have much less of a performance impact.

For a number of sites, you can just get away with running Dark Reader in static mode and it works well enough. Considerably faster.

EDIT: Actually, thanks for reminding me. I've never donated to Dark Reader, and it looks like they ask for a $10 donation if you use it regularly, and that plugin has dramatically improved my Web-browsing experience. Going to do that now.

[–] Armand1@lemmy.world 14 points 3 months ago (1 children)
[–] Kecessa@sh.itjust.works 13 points 3 months ago

Dark reader team be like "Guys! We're eating pizza tonight!"

[–] hsdkfr734r@feddit.nl 4 points 3 months ago* (last edited 3 months ago) (1 children)

Maybe. Does it make a big performance difference which css (dark reader or delivered by wiki) is used?

Is it known how the default to dark mode setting is persisted if let's say a plugin removed all the Wikipedia cookies on window close? A get or post parameter?

Either way it's a good thing that wiki offers a dark mode.

[–] AProfessional@lemmy.world 11 points 3 months ago* (last edited 3 months ago) (1 children)

Dark reader is one of the heaviest extensions you use, lots of dom modifications. It also passes around far too much data between processes.

[–] hsdkfr734r@feddit.nl 8 points 3 months ago* (last edited 3 months ago) (1 children)

lots of dom modifications

That's good to know. These modifications are needed to replace the style sheet details, I guess?

passes around far too much data between processes.

What does this mean? Do you have a link where I could read up on the details? Thanks.

[–] AProfessional@lemmy.world 2 points 3 months ago* (last edited 3 months ago)

Webextensions get their own webprocess as well as running in the website. I don’t have a link but if you read their source they just pass a lot of data to their process to determine things (last i looked some years ago).

There is a trade off of executing more things on the site vs transferring a lot of data. Either way it’s a heavy extension.

[–] Monomate@lemm.ee 35 points 3 months ago (1 children)

Yeah, Dark Reader is a godsend. I just got tired of all the light mode webpages and took matters into my own hands.

[–] tal@lemmy.today 3 points 3 months ago* (last edited 3 months ago)

I'm really surprised that it works as well as it does, given the insane amount of stuff that it interacts with. I'd think that it'd be way more fragile than it is.

I'll also add that while I very much prefer dark mode interfaces -- staring at a light mode interface in the dark is kind of like staring into a headlamp -- if I had a display that (a) was reflective rather than transmissive in the sun (like eink displays are) and (b) did reasonable automatic brightness adjustment, and (c) software consistently made use of a color range such that "standard light background" isn't "set every pixel on the display to its maximum brightness", I might be okay with light mode. If I had to pick just one, I'd choose dark mode, but if technology advances, I might be okay with light mode.

[–] pineapplelover@lemm.ee 2 points 3 months ago (1 children)

Not a fan of dark reader. It has a weird blue tint to things. I much prefer Dark Background and Light Text. That extensions has a true black background.

[–] ParetoOptimalDev@lemmy.today 10 points 3 months ago (1 children)
[–] pineapplelover@lemm.ee 2 points 3 months ago (1 children)

Been a while since I've tested that extension out, does it have stylesheet, css, or invert modes so different pages can be shown differently?

[–] muntedcrocodile@lemm.ee 1 points 3 months ago (1 children)

Is ot jyst me or does dark reader do formulas wrong on wikepedia for u as well?

[–] hsdkfr734r@feddit.nl 1 points 3 months ago