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
I found a case when the file cannot be loaded. It happens when the connection is unsecured (local environment, but it's not localhost). In this case popup just opens once.
Removing isSecureContext in the condition below helped, but it caused the error (The file at link was loaded over an insecure connection. This file should be served over HTTPS.) if (isSecureContext && !('serviceWorker' in navigator))
Seems like it's not a good solution as well as forcing opening Iframe instead of popup.
Are there any other possible solutions?
Many thanks!
The text was updated successfully, but these errors were encountered:
I encounter this problem too, I guess it just doesn't work when your connection is not over https (except localhost) , as both popup and iframe approach need serviceWorker to hijack request.
Hi everyone,
I found a case when the file cannot be loaded. It happens when the connection is unsecured (local environment, but it's not localhost). In this case popup just opens once.
Removing isSecureContext in the condition below helped, but it caused the error (The file at link was loaded over an insecure connection. This file should be served over HTTPS.)
if (isSecureContext && !('serviceWorker' in navigator))
Seems like it's not a good solution as well as forcing opening Iframe instead of popup.
Are there any other possible solutions?
Many thanks!
The text was updated successfully, but these errors were encountered: