-
Notifications
You must be signed in to change notification settings - Fork 0
Reddit support: content script for posts and comments #18
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestextensionChrome/browser extensionChrome/browser extensionplatform: redditReddit supportReddit support
Description
What
Create a Reddit content script that intercepts post titles and comments for classification.
From ROADMAP.md - Phase 4.
Scope
- Create `extension/platforms/reddit.js`
- Handle both old.reddit.com and new Reddit DOM structures
- Intercept post titles in feeds
- Intercept comment content
- Send to background worker for classification
- Apply visual treatments to Reddit elements
Considerations
- Reddit's DOM changes frequently - selectors need to be resilient
- old.reddit.com and new Reddit have completely different markup
- Subreddit context could be passed to the classifier for better accuracy
Prerequisites
Ideally the platform adapter pattern (#10) lands first, but this can be built standalone and refactored later.
References
- ROADMAP.md - Phase 4
- `extension/content.js` - Twitter implementation to reference
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestextensionChrome/browser extensionChrome/browser extensionplatform: redditReddit supportReddit support