mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 16:35:53 +02:00
[GH-ISSUE #208] Web app crashed when opened in private tab #165
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#165
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @julianfoad on GitHub (Apr 11, 2022).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/208
sha256:2fd60d0cd40195ca2d41e32131f79cdfabc6e3f766bf6acc4efcb5524771ce39.--behind-proxy.@binwiederhier commented on GitHub (Apr 11, 2022):
I am painfully aware of this. Apparently
IndexedDBis not available in private browsing mode, which is what the web app uses to store its local state.I am not aware of why the browsers chose to make
IndexedDBunavailable, but from what I've read it's because of "privacy concerns". It's very ironic because ntfy is usingIndexedDBso we don't have to store anything on the server, so this is a little puzzling to me.There is no short workaround for this, because everything revolves around
IndexedDB. Nothing can be stored without it, andDexie.js(the lib I use) doesn't support any fallbacks.It would be tremendeous effort to make it work, with very little benefit. Why would anyone use an app with local-only storage in private mode? The use cases are pretty much non-existant.
That said, I could make it crash nicer showing why/that it doesn't work and link to this issue.
Thank you for filing the ticket :-D
@binwiederhier commented on GitHub (Apr 28, 2022):
I'm closing this as "won't fix" because as I said:
Hope you understand.
@julianfoad commented on GitHub (Apr 28, 2022):
As I said originally, I have no need for the app to work in private browsing mode: I simply happened to be in that mode and it crashed. When it crashed there was no clue that this was the reason and a known limitation. Then (being the curious type) I investigated further.
This seems ideal:
But now that I myself know how to avoid the crash, it's nowhere on my priority wish list. I won't argue any further.
@binwiederhier commented on GitHub (Apr 28, 2022):
Re-opening as this just happened to another user. So I suppose I'll add a nicer error message :-D
@binwiederhier commented on GitHub (Apr 30, 2022):
Did this. I hate it, but I also don't want to re-implement everything for a use case that doesn't exist.
@julianfoad commented on GitHub (Apr 30, 2022):
Compared with a crash that's night-and-day better. Thanks!