605
submitted 1 year ago by neme@lemm.ee to c/technology@lemmy.world
you are viewing a single comment's thread
view the rest of the comments
[-] hsdkfr734r@feddit.nl 105 points 1 year ago

Dark Reader Plugin already solved that issue.

[-] deranger@sh.itjust.works 164 points 1 year ago

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

[-] hsdkfr734r@feddit.nl 4 points 1 year ago* (last edited 1 year ago)

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 1 year ago* (last edited 1 year ago)

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 1 year ago* (last edited 1 year ago)

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 1 year ago* (last edited 1 year 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.

[-] MonkderDritte@feddit.de 3 points 1 year ago* (last edited 1 year ago)

"Native". That every webpage has to implement it themselves is sad. Could be a browser feature that overrides some colors on dark.
Then again, with webapps, probably not.

[-] bamboo@lemm.ee 18 points 1 year ago

This is sorta how dark reader and such works. It turns out that implementing dark mode for most websites is more complicated than inverting all the css colors. For example, some gray on white text might have enough contrast to be easily read, but when inverted the text is hard to discern or nearly invisible. Images too, they might have a white background but not look good when inverted. Native support is better

[-] ZeroPoke@lemmy.ca 5 points 1 year ago

Funny enough they do. Before Dark Reader on Firefox on Android I had a Chrome flag that did the same thing. But Dark Reader does a better job IMO.

[-] Aethr@lemmy.world 2 points 1 year ago

Chrome flag works on some websites, but makes others completely unreadable. Do not recommend unless you can't use dark reader

[-] Monomate@lemm.ee 35 points 1 year ago

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

[-] pineapplelover@lemm.ee 3 points 1 year ago

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.

this post was submitted on 18 Jul 2024
605 points (100.0% liked)

Technology

72828 readers
2267 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 news or articles.
  3. Be excellent to each other!
  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, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS