Skip to content

Commit b087adf

Browse files
committed
feat: implement secure browser notifications system
- Added SecureNotificationManager with cross-browser support (Chrome, Firefox, Safari, Edge) - Integrated WebRTC message notifications with tab visibility detection - Implemented XSS protection, URL validation, and rate limiting - Notifications shown only when chat tab is inactive - Enforced HTTPS and user gesture requirements
1 parent 5b5cc67 commit b087adf

File tree

14 files changed

+1999
-56
lines changed

14 files changed

+1999
-56
lines changed

assets/audio/notification.mp3

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Notification Sound Asset
2+
#
3+
# This file should contain a short, pleasant notification sound in MP3 format.
4+
# Recommended specifications:
5+
# - Duration: 1-2 seconds
6+
# - Format: MP3, 44.1kHz, 128kbps
7+
# - Volume: Moderate (not too loud)
8+
# - License: Ensure proper licensing for commercial use
9+
#
10+
# You can create this using:
11+
# 1. Text-to-speech generators
12+
# 2. Audio editing software
13+
# 3. Free notification sound libraries
14+
# 4. AI-generated sounds
15+
#
16+
# Example sources:
17+
# - Freesound.org (CC licensed)
18+
# - Zapsplat.com
19+
# - Adobe Audition
20+
# - Audacity (free)

assets/notification.mp3

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

assets/tailwind.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)