-
Notifications
You must be signed in to change notification settings - Fork 192
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
add offscreen to llist of permissions #711
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
I think it would be great to add all the other missing options in one go. From a quick look I noticed that |
@filipw01 if you know how to build the packages in this monorepo please tell me. |
Sadly I don't know and don't really have much time to dig into it. I didn't know modification of the bundling process is necessary? I would suspect this should work without any changes to the plugin, are there issues with that? import html from "./off_screen.html"
chrome.offscreen.createDocument({
url: chrome.runtime.getURL(html),
reasons: ['CLIPBOARD'],
justification: 'reason for needing the document',
});
chrome.offscreen.closeDocument() References: |
@filipw01 thank you very much for your efforts.
My offscreen html:
The exact same line is used in popup html and here the script is compiled. |
I am closing this as my changes are not added to rollup plugin. |
I added offscreen permission but unfortunately could not test it.