Skip to content

Releases

1.0.4

Choose a tag to compare

@QuantIntellect QuantIntellect released this 27 Nov 07:53

Fixes for pages that froze, and for the quirk form on the options page.

  • Fixed (#5): pages could stop responding. Four
    ways the extension could end up answering its own changes, found on an Oracle careers page and in tests:
    • An inline !important color was transformed again on every pass, and transforms don't settle (a border color
      keeps changing). With nothing else to adjust on the element, each pass was a new style change that the extension
      then answered, in microtasks, so the page never painted or took input again. One element with
      style="border-color: #f0f0f0 !important" was enough. Now the original value is kept and only transformed once,
      and it is put back when the mode turns off (unless the page changed it in the meantime).
    • Text over a large background photo was checked again on every frame, because the photo is never classified
      (photos are left alone) and the "classified, look again" step ran anyway. On the Oracle page that rewrote the
      same attributes 60 times a second, and the site's UI library (Oracle JET) re-renders components when attributes
      under them change. Text is now checked again only when the image actually got a verdict.
    • Adjustments are written only when their value changes. A write of the same value still reaches the page's own
      observers, and some re-render on any change.
    • Attribute changes that leave the value as it was (a framework re-applying the same classes) are ignored.
  • A safety net for loops not covered above. Within one task an element is handled a few times at most. After 100
    observer callbacks in one task, the rest waits for the next task, and if that happens three tasks in a row the
    work is dropped until things calm down. Elements that keep coming back to the layout pass on every frame are looked
    at again a second later. When this happens, the popup's statistics line says "loops stopped".
  • Fixed (#4): after one invalid selector in the
    options page's quirk form, every selector was rejected as "Not a valid CSS selector" until the page was reloaded
    (the message stayed set on the field and blocked the form). The message now clears as soon as the field is edited,
    and it names the selector that's wrong. The placeholders no longer read like part of the value ("Invert, e.g.
    .chart img, .logo").
  • Tests: a fixture with the loops above (an inline !important border, text over a photo, a component that
    re-applies its children's classes, and one that re-renders fresh children whenever an attribute under it changes),
    checked for a page that still answers, no attribute rewritten while idle, a stable border and colors restored on
    turning off. Three checks for the quirk form.

Chrome Web Store: this version is on its way to the store. Until it arrives, you can load the zip below unpacked (chrome://extensions → Developer mode → Load unpacked, after unzipping).

sha256 68ae29dc7dda1493dd8f1ce3f2fd32baa6c62ed341ce88bf5b235b17bed8d97c

Adaptive Dark Mode 1.0.3

Choose a tag to compare

@QuantIntellect QuantIntellect released this 20 Nov 13:47

No more "Try" offer on sites that already have a dark theme of their own.

  • New: sites whose own dark theme is switched off in their own settings no longer get the "This page is bright · Try" card or the TRY badge. Examples are YouTube set to its light theme, Stack Overflow and Wikipedia. Their dark theme is one setting away. The popup says Site's own dark theme is off and still offers Try on this page.
  • Not fooled by dark sections: a site that only uses dark styles for a promo band or a button (Apple, IKEA, Microsoft), or ships a library's built-in dark block (Bootstrap, Algolia DocSearch), still gets the offer.
  • Unchanged: with All bright sites, or on a site you turned on, these pages are adapted as before. When a site's own dark theme is switched on, the extension steps aside, as it already did.
  • Timing: the card now appears once the page has loaded (at most 3 s after the first check), when the extension has seen the site's style sheets.

Same permissions as before (storage and site access), so there's nothing new to approve. Settings and the per-site cache carry over.

Install: download the zip below, unzip it, then go to chrome://extensions → Developer mode → Load unpacked. The Chrome Web Store update follows after Google's review. Full details are in the changelog.

Adaptive Dark Mode 1.0.2

Choose a tag to compare

@QuantIntellect QuantIntellect released this 19 Nov 19:39

Fixes for the first reports from users, and a tidier popup.

  • Fixed (#1): pages no longer open white on sites you turned on. A first visit starts dark at document_start; a page that turns out dark is left alone after the first check.
  • Fixed (#2): a drawing made of stacked canvases (paint.toys' Zen Garden) no longer gets the light backdrop meant for charts. A chart with a hover layer above it keeps its backdrop.
  • Fixed: a cookie-consent dialog with a dark backdrop no longer turns the extension off while it is open (new in 1.0.1).
  • Fixed: clicking Try could start the engine twice.
  • Offer card: asks again the next day if left unanswered (Not now still means a week), ignores clicks for half a second after appearing, and All bright sites is no longer the main button.
  • Popup: Try on this page remembers the site; Something looks wrong? offers Leave canvases unchanged here and Turn off on this site; switches moved under Fine-tuning so the popup fits Chrome's 600 px limit; Reload page for tabs that were open before an update.
  • Contrast: buttons and links meet 4.5:1.

Same permissions as 1.0.0 (storage and site access); nothing new to approve. Settings and the per-site cache carry over.

Install: download the zip below, unzip, then chrome://extensions → Developer mode → Load unpacked. The Chrome Web Store update follows after Google's review. Full details in the changelog.

Adaptive Dark Mode 1.0.1

Choose a tag to compare

@QuantIntellect QuantIntellect released this 11 Nov 07:55

Respects sites that already have their own automatic light/dark theme.

  • Fixed: a site that applies its dark theme late (e.g. after hydration) and paints its background on a wrapper like #app kept the extension on over its own dark theme. Theme switches are now detected on full-page wrappers too.
  • Fixed: a light/dark verdict cached in light mode no longer starts the extension early in dark mode.
  • New: rules inside @media (prefers-color-scheme: dark) are kept as written. With Runs: Always on a light system they are switched on, so sites with their own dark CSS get their own dark design.

Install: download the zip below, unzip, then chrome://extensions → Developer mode → Load unpacked. See the changelog.

Adaptive Dark Mode 1.0.0

Choose a tag to compare

@QuantIntellect QuantIntellect released this 11 Nov 07:19

First public release of Adaptive Dark Mode for Chrome, a Manifest V3 extension modelled on the Adaptive Dark Mode in Safari 27.3.

Original vs adapted

Install

  1. Download adaptive-dark-mode-1.0.0.zip below and unzip it.
  2. Open chrome://extensions, turn on Developer mode, click Load unpacked and pick the unzipped folder.
  3. Browse with your system in dark mode, or set Runs → Always in the toolbar popup.

What's in it

  • Rule-level color overrides covering @media, @supports, @layer, @container, @scope, nesting, @import, cross-origin sheets, shadow roots, CSS-in-JS, inline styles and legacy bgcolor.
  • A contrast-preserving luminance flip in OKLCH that keeps hue, calibrated against Apple's published screenshots.
  • Text pushed to WCAG 4.5:1 (or 7:1) against what is actually painted behind it.
  • Black-and-white logos and dark icons inverted. Photos, video and canvas left alone.
  • Sites with their own dark theme or color-scheme declaration left untouched.
  • A "This page is bright · Try" offer, a toolbar popup, an options page and Alt+Shift+D.

See the README for verification results and known limits, and docs/how-safari-does-it.md for the research.

Independent project, not affiliated with or endorsed by Apple.