Skip to content

Notify the end user if the serviceWorker is unavailable#16

Merged
aguinet merged 2 commits intoaguinet:mainfrom
llaubin:add_serviceworker_check
Feb 15, 2026
Merged

Notify the end user if the serviceWorker is unavailable#16
aguinet merged 2 commits intoaguinet:mainfrom
llaubin:add_serviceworker_check

Conversation

@llaubin
Copy link
Copy Markdown
Contributor

@llaubin llaubin commented Apr 21, 2025

Hola o/

When sharing a file with someone using Firefox in private mode, the user may be redirected to the home page of the application, with no download available. This is due to navigator.serviceWorker being null, which triggers an exception and so redirects to webroot.

This fix just pops a msgbox to warn the user before being redirected.

@aguinet
Copy link
Copy Markdown
Owner

aguinet commented Feb 15, 2026

Thanks for this!

@aguinet aguinet merged commit f8a176b into aguinet:main Feb 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants