Skip to content

Support for web environments with limited 'window' object i.e: chrome extension service workers API #124

@idanrozin

Description

@idanrozin

Hi! I am using this great library in a chrome extension project which is going to support the chrome extension api manifest V3 soon as google is kinda enforcing it on all extension developers.
One of the main changes there is that instead of the current background service which runs in the background constantly and has access to the browser's window object, it is being replaced by a service worker API which has a limited window object (kinda like the window object but with less capabilities).
I think it would be great to think of other use cases in which you might consider limiting or somehow changing the use of window object.

Btw: I think that I might have a way to make it work and even kinda make it somewhat generic so it won't affect anyone who wants to use it as it is now.

Let me know if you would like me to open a PR with my idea 😀
Thanks!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions