The idea was to use the initial page to set a notification flag, then trigger the notification from the second page based on the flag. That would prevent a refresh button triggering another notification.

I can’t get JavaScript to stop the back button working.