Skip to content

Content Safety Lock v1.2.1 - Reddit Integration

Choose a tag to compare

@dwright dwright released this 29 Nov 00:51
· 37 commits to main since this release

Content Safety Lock v1.2.1

Release Date: 2025-11-28

Reddit NSFW Filtering & Documentation Reorganization

Added

Safe Request Mode - Reddit Enhancements

  • Reddit Safe Mode Integration:
    • Intercepts network requests to Reddit API/JSON endpoints
    • Filters JSON responses to remove posts flagged as "over_18" (NSFW)
    • DOM-level backup to hide/remove shreddit-post[nsfw] and .thing.over18 elements
    • Search Results Filtering: Filters NSFW content across all search tabs:
      • Posts tab
      • Communities tab
      • Comments tab
      • Media tab
      • People tab
    • Page-Level Blocking:
      • Blocks entire NSFW user profile pages
      • Blocks entire NSFW subreddit pages
      • Uses reddit-page-data element to detect NSFW status
    • Configurable via "Safe Request Mode" settings

Documentation

  • Reorganized documentation structure:
    • Created documentation/ directory for technical docs
    • Moved 11 technical documents to documentation/ folder
    • Kept README, QUICKSTART, CHANGELOG, and INDEX in root
  • New Provider Integration Guide:
    • Created documentation/ADDING_NEW_PROVIDER.md
    • Complete step-by-step guide for adding new content providers
    • Includes Reddit implementation as detailed example
    • Covers interceptor scripts, Safe Request configuration, content script integration, and page-level blocking
  • Updated INDEX.md:
    • Updated all documentation links to reflect new structure
    • Added reference to new provider guide
    • Updated version and last modified date

Changed

  • Improved logging levels:
    • console.info() for important events (activation, blocking)
    • console.debug() for verbose diagnostics (element counts, checks)
    • console.warn() for potential issues
    • console.error() for actual errors

Installation

Download content_safety_lock-1.2.1.zip and install in Firefox.

Upgrade Notes

This is a minor update that adds Reddit filtering capabilities. All existing settings and configurations will be preserved.