Fix context menu URL patterns and add URL validation
- Change context menu URL patterns from specific video/picture patterns to general FetLife pattern
- Add URL validation in click handlers to ensure actions only work on video/picture pages
- Support both direct URLs (/videos/ID, /pictures/ID) and username-based URLs (/{username}/videos/ID)
- Add user-friendly error messages when not on appropriate pages
- Maintain backward compatibility with existing functionality
- Improve user experience with clear feedback for incorrect page usage
Showing
Please
register
or
sign in
to comment