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

Technology

59979 readers
2312 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 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 5 months ago* (last edited 5 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.

[–] [email protected] 11 points 5 months ago* (last edited 5 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.

[–] [email protected] 8 points 5 months ago* (last edited 5 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.

[–] [email protected] 2 points 5 months ago* (last edited 5 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.