-
Notifications
You must be signed in to change notification settings - Fork 113
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
Fix chromium clipboard access #278
Conversation
on chromium, backend calls to clipboardGet are forwarded to an offscreen script
✔️ No visual differences introduced by this PR. View Playwright Report (note: open the "playwright-report" artifact) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
besides the comments i left, there are three other issues.
- getImage is not implemented by this change, so Clipboard reading not supported in this context error #269 would not be fixed.
- the contents of the offscreen directory should instead go in the background directory.
- the offscreen permission should be documented in
docs/permissions.md
.
implement getImage for offscreen requests move offscreen files, offscreen prep is done in sw prep update permissions document for offscreen rearrange permissions
bd86f4d
to
379fdcf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for all the fixes. LGTM!
I moved from yomichan to this yesterday and was having issues with how I usually mine cards because the clipboard monitor for the search page wasn't working, so I fixed it locally.
Feel free to close this if this is duplicated work or there's a nicer solution in mind.