You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Remove console error and improve copy-code utility cross-browser compatibility
- Replace console.error with user-friendly visual feedback
- Add secure context check for modern clipboard API
- Enhance fallback method for older browsers and HTTP contexts
- Add mobile device support with setSelectionRange
- Implement visual success/error states on copy buttons
- Improve error handling with graceful degradation
Fixes console noise when copy operation fails and ensures
copy functionality works across all browsers including
Firefox, Safari, and older browser versions.
0 commit comments