max-kamps / jpd-breader

MIT License
100 stars 24 forks source link

Way to disable error popup #53

Open Mupu opened 1 year ago

Mupu commented 1 year ago

When traveling and reading on my surface I had multiple occasions when I lost internet and it would spam like 20 of those error popups. Would be neat to either have the option to disable them for x amount of time, or display them somewhere else.

xyaman commented 1 year ago

Maybe instead of displaying an alert(), errors could simply be logged to the console, and an option could be added to the settings to show them as alert().

Alternatively, another option would be to use a custom alert that automatically disappears after a certain amount of time. This way, there would be visual feedback without being as annoying as a regular alert.