I am trying to implement Push Notifications for Google Chrome. I want to register a service worker from another domain.
Example: The Service Worker code is located at: https://example.com/
I want to register a service worker (who is in the specified domain) from another domain: https://example2.com/
Is there any way to achieve the same. Because when I try to include the working user page (example) as an iFrame, the working service throws an error when registering
"Unprepared (in promise) DOMException: Registration error - permission denied"
source
share