Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chrome Extension APIs #3935

Closed
4 tasks done
ultimateshadsform opened this issue Apr 24, 2024 · 3 comments
Closed
4 tasks done

Chrome Extension APIs #3935

ultimateshadsform opened this issue Apr 24, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@ultimateshadsform
Copy link

Clear and concise description of the problem

Hello! It would be nice with a package that is related to Chrome Extensions APIs like chrome.storage.sync, chrome.storage.local etc.

These APIs are not the same as local storage etc.

Maybe have it in a @vueuse/chrome-extension package or something like that.

For apis only meant to be run in a chrome extension environment.

Would be nice to have some wrappers like useStroage but something like useExtensionStorage or maybe useChromeStorage or something like that.

Suggested solution

To create a new package meant for browser extension APIs.

Alternative

Would be nice to implement it in Vueuse since it's all mostly related to composables and stuff.

Additional context

No response

Validations

@ultimateshadsform ultimateshadsform added the enhancement New feature or request label Apr 24, 2024
@pavi2410
Copy link

pavi2410 commented May 3, 2024

Great idea. I work on a Chrome extension project and could use it. It should use web-ext polyfill to target browsers other than Chrome.

@antfu
Copy link
Member

antfu commented May 3, 2024

I would say feel free to go ahead and create your own library and share with the community and see how people find it useful - later we could discuss about if you want to merge it into VueUse. The general principle is that we can't provide integrations for everything in the world, and we already have so many functions to maintain. So for now, I don't think we will do it officially. Thanks.

@antfu antfu closed this as not planned Won't fix, can't repro, duplicate, stale May 3, 2024
@ultimateshadsform
Copy link
Author

I would say feel free to go ahead and create your own library and share with the community and see how people find it useful - later we could discuss about if you want to merge it into VueUse. The general principle is that we can't provide integrations for everything in the world, and we already have so many functions to maintain. So for now, I don't think we will do it officially. Thanks.

Of course! I would be happy to! 😀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants