Settings

Theme

Show HN: I built a post filtering Safari extension for Reddit to replace RES

getprotego.app

1 points by edgarischatting a year ago · 0 comments · 1 min read

Reader

After Reddit Enhancement Suite (RES) became unmaintained, Safari users on macOS lost access to post filtering capabilities. As a developer who switched to Safari, I missed this functionality and decided to build a solution.

What it is: A Safari extension that filters Reddit posts based on keywords and wildcards. It monitors the DOM in real-time and hides posts matching your filters, working on both old and new Reddit interfaces.

Technical implementation: - MutationObserver for DOM monitoring - Batch processing - Client-side filtering with zero external dependencies - Wildcard pattern matching (e.g., "politic*" matches "politics", "political") - JSON-based filter import/export - Local storage for settings persistence

Key architectural decisions: 1. Chose MutationObserver over polling for efficiency 2. Implemented batch processing to handle Reddit's infinite scroll without impacting performance 3. Abstracted DOM selectors to support both Reddit interfaces 4. Used CSS modules for style isolation 5. Kept the codebase minimal and focused on the core filtering functionality

Try it out: Available on the Mac App Store. Currently running a 25% off Black Friday sale.

Looking for feedback for feature ideas or bug reports. I also have 5 TestFlight invites if anyone is interested in beta testing.

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection