Repository navigation
Tags
Tags
fix(updates): slide banner text in with its card and set the card apart The banner's labels turned off every animation, so on the Mac they landed in place before the card slid down. Only a title or status change skips the animation now. The Mac card uses the system control background with a soft shadow, so it no longer blends into the gray rows, and it is capped at a card's width instead of spanning the window. The bar now takes values directly: AppKit already eases them, and easing them again in SwiftUI made the fill sweep instead of grow.
fix(popup): keep the Autoplay card's top hairline visible The two-line hint above the card used line-height 1.3 at 12px, so the card started on a fractional y and Safari faded its 0.5px top border. Use a whole-pixel line height and drop the card's ::before workaround.
fix(macos): restore keyboard scrolling on the filter and userscript l… …ists Moving both pages to the native outline list in d821117 dropped the keyboardScrollable modifier, and the helper was later deleted. The outline view now scrolls itself with the arrow keys, Page Up/Down, Home/End, and Command with Up/Down, unless a text field has focus.
perf: load No Autoplay scripts only while it is on The scripts used to be declared in the manifest, so every frame loaded them and asked the app for the setting even with the feature off. They are now registered with scripting.registerContentScripts while some site blocks autoplay; Safari before 16.4 injects them per frame instead.
Fix hash comment highlighting and add tokenizer tests Expose TokenType and tokenize(_:) on AdGuardSyntaxHighlighter so the regex classifier can be unit-tested without an NSAttributedString round-trip. Treat a leading '#' not followed by a cosmetic marker as a comment, matching AdGuard's RuleFactory.isComment. Add scripts/test_adguard_syntax_highlighter.swift, run via swiftc like the existing test scripts, porting AdGuard's simpleTokenize fixtures into wBlock's token vocabulary.
PreviousNext