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
Currently, (only tested on Firefox on macOS) you cannot enable push notifications from strims.gg, but you can from chat.strims.gg. The console shows this error if you try directly from strims.gg:
The Notification permission may only be requested in a top-level document or same-origin iframe.
According to MDN docs, linked below, this is because:
Chrome and Firefox no longer allow notification permissions to be requested from cross-origin <iframe>s
According to the Stack Overflow link below,
In newer versions of Chrome you cannot request the Notification API, unless the site is https secured and also you cannot request it from a cross-origin iframe.
If you do meet this requirements, you should be able to use notifications and background push notifications on Chrome.
The text was updated successfully, but these errors were encountered:
bliutwo
changed the title
Enable Notifications from strims.gg instead of chat.strims.gg
Enable Notifications doesn't work on strims.gg, but works on chat.strims.gg
Jun 13, 2021
Currently, (only tested on Firefox on macOS) you cannot enable push notifications from strims.gg, but you can from chat.strims.gg. The console shows this error if you try directly from strims.gg:
According to MDN docs, linked below, this is because:
According to the Stack Overflow link below,
Potentially useful links:
According to Slugalisk:
The text was updated successfully, but these errors were encountered: