fix: generalize the SCC iframe workaround to all Decisia deployments

↗ view on GitHub · Eli Ziff · 2026-07-27 · 3de14d98

Live probes across 14 Decisia/Norma hosts (FCA, FC, TCC, ONCA, NSCA,
CIRB, SST, CART, CMAC, CT, FPSLREB, CITT, CHRT, SCC) show the identical
behaviour Beaver only handled for decisions.scc-csc.ca: the default URL
is an iframe shell with no document text, so anchors and text fragments
silently no-op; ?iframe=true serves the inline document with name=parN
anchors. One host+path predicate replaces the hostname special case,
the 22-entry LEXUM_PARAGRAPH_DATASETS table (wrong in both directions),
isLexumParagraphSource, and the scrollableLexum option. The flag now
applies for every locator kind and every caller, not just A2AJ
paragraph lookups. site_preference=mobile is dropped: unnecessary and
it pinned a persistent layout cookie on the court's whole site.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUsMXzBsEJ27DjJVPSfW5o
Repository eliziff/Beaver
Author Eli Ziff <eliasziff@gmail.com>
Authored
Parents d8234eb5
Stats 2 files changed , +44 , -72
Part of A2AJ / CourtListener Canadian legal-source integration

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-3de14d98.md from inside the repo you want the change in.

⬇ Download capture-commit-3de14d98.md