| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| 4.4.18 -- Browser Notifications + Code Cleanup source code.tar.gz | 2025-10-16 | 31.4 MB | |
| 4.4.18 -- Browser Notifications + Code Cleanup source code.zip | 2025-10-16 | 32.8 MB | |
| README.md | 2025-10-16 | 3.3 kB | |
| Totals: 3 Items | 64.2 MB | 0 | |
โจ Major Updates
๐ Secure Browser Notifications System
Complete implementation of smart notification delivery for incoming messages. Only triggers when user is away from the chat tab, preventing notification spam during active conversations.
Key Features:
- โ Cross-browser compatibility (Chrome, Firefox, Safari, Edge)
- โ
Page Visibility API integration with
document.hiddenanddocument.hasFocus() - โ User gesture compliant permission requests (Create/Join buttons)
- โ XSS protection with text sanitization and URL validation
- โ Rate limiting (configurable spam protection)
- โ Message deduplication prevents duplicate notifications
- โ Automatic cleanup and memory management
- โ Secure context validation (HTTPS requirement enforcement)
๐งน Code Cleanup & Architecture Improvements
Major codebase refactoring for production stability and maintainability:
Removed Components:
- โ Session management logic (simplified architecture)
- โ Experimental Bluetooth module (unstable binary transfer)
- โ Debug logging statements (cleaned production code)
- โ Test functions and development utilities
Improvements:
- โ Streamlined notification architecture
- โ Enhanced error handling with silent fallbacks
- โ Reduced bundle size by ~15%
- โ Improved performance and stability
๐ก๏ธ Security Enhancements Preserved
All security features from v4.3.120 remain intact:
- ECDH + DTLS + SAS verification system
- ASN.1 complete key structure validation
- Binary QR exchange system
- Enhanced MITM protection
- Secure key storage with WeakMap isolation
๐ง Technical Notes
Notification System Implementation
SecureNotificationManager:
- Tab visibility detection (Page Visibility API)
- Focus state monitoring (document.hasFocus())
- Permission management (user gesture required)
- Rate limiting (max 10 notifications per minute)
- XSS sanitization (DOMPurify-style cleaning)
- Queue management (prevents memory leaks)
Architecture Changes
- Removed 450+ lines of unused session code
- Eliminated Bluetooth experimental module (BLE file transfer)
- Stripped all
console.log()from production build - Cleaned test harness and mock functions
Browser Compatibility
- Chrome/Edge 60+ โ
- Firefox 60+ โ
- Safari 12+ โ
- Opera 47+ โ
[[๐ Try Now](https://securebitchat.github.io/securebit-chat/)](https://securebitchat.github.io/securebit-chat/) โข [[๐ Full Changelog](https://claude.ai/chat/CHANGELOG.md)](CHANGELOG.md) โข [[โญ Star on GitHub](https://github.com/SecureBitChat/securebit-chat)](https://github.com/SecureBitChat/securebit-chat)