Skip to content

Sieve 1.5.1: version bump, release notes, and a readable notice on dark pages - #34

Merged
codepurse merged 3 commits into
mainfrom
release/1.5.1
Oct 28, 2026
Merged

codepurse merged 3 commits into
mainfrom
release/1.5.1

Conversation

@codepurse

Copy link
Copy Markdown
Owner

Sieve 1.5.1: the version bump and release notes, plus two small fixes found while testing the release by hand.

In this PR

  • aaffd0a 1.5.1: version 1.5.1 in both manifests and package.json, and 17 release notes in common/changelog.js (they show in Settings → What's new as Current).
  • cf72945 Readable notice on dark pages: on DuckDuckGo's dark theme, "Sieve hid N results · Show them · By site" came out dark grey on near-black. The notice inherits the results list's text colour, and DuckDuckGo colours each piece of its own text rather than the list. It now checks its contrast against the background behind it and, below 4.5:1, takes an off-white or near-black of its own. Every light page keeps the page's colour, and the SERP test covers both dark cases. Confirmed by eye on live dark DuckDuckGo.
  • 9141076 Test fix: the parser's regex-cap test counted accepted regexes, which KeywordPattern's 10 ms timing check made flaky under a busy suite. It now counts validator calls.

What 1.5.1 ships (already on main)

PR Change
#28 The Doomscroll Stopper counts time on the site (on screen, and in use or playing), not just scrolling, so video sites no longer slip through
#29 A countdown in the corner of each tracked site ("left", "paused", "over"), with corner and size settings; user-added sites' pause screen follows Appearance
#30 The Search Result Filter on DuckDuckGo's Images and Videos tabs, following tab switches; Blocked sites hidden whole there
#31 Hide the count, and YouTube Restricted Mode (locked on by request header)
#32 Subscribed lists: uBlacklist, hosts files, AdGuard / uBO domain rules
#33 By site: which sites were hidden, and how many

Tested

Every change was tested by hand in Chrome, loaded unpacked from this branch: the YouTube time limit and countdown, DuckDuckGo search results, list subscriptions (including Super SEO Spam Suppressor), Restricted Mode, What's new, and the lock on each new setting. That's how the dark-page notice was found.

The full suite passes (762). The every-page injection is 161,320 bytes, within the 165,000 budget.

codepurse and others added 3 commits October 28, 2026 16:33
"regexes past the cap are counted as skipped, not validated" asserted
exactly 200 regexes accepted. KeywordPattern times each regex against a
10 ms budget, so with the whole suite running in parallel (several
headless Chromes) a good regex was occasionally refused and the test
failed. It now checks what it is about: the validator is called 200
times and no more, and every line is either a rule or counted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On DuckDuckGo's dark theme "Sieve hid 8 results · Show them · By site"
came out dark grey on near-black. The notice inherits the results
list's text colour, and DuckDuckGo colours each piece of its own text
rather than the list, so the notice got the browser's default black.

It still takes the page's colour, which blends in almost everywhere,
but now checks its contrast against the first solid background behind
it and, below 4.5:1 (it is also drawn at 80% opacity), takes an
off-white or near-black of its own. Checked on every update, since a
page can change theme without reloading.

The SERP test adds a dark DuckDuckGo page as it really is (dark page,
no colour on the list: fails on the old script) and a dark page that
does colour its text (keeps it), and every light page asserts the
notice keeps the page's own colour. Confirmed by eye on live dark
DuckDuckGo. Every-page injection: 161,320 of the 165,000 budget.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Seventeen notes for what has shipped since 1.5.0: the Doomscroll
Stopper counting time on the site rather than scrolling, its countdown,
the user-added sites' pause screen, DuckDuckGo's Images and Videos
tabs, subscribed lists, Hide the count, By site, the readable notice on
dark pages, and YouTube's Restricted Mode. Each change was tested by
hand in a browser before this.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codepurse
codepurse merged commit b9db746 into main Oct 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant