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

REQUEST: automatically copy url to clipboard #79

Open
badbob001 opened this issue Feb 13, 2022 · 0 comments
Open

REQUEST: automatically copy url to clipboard #79

badbob001 opened this issue Feb 13, 2022 · 0 comments

Comments

@badbob001
Copy link

I'm trying to figure out how to have the download url automatically get copied to the clipboard with each request, but can't figure it out.

I can do it based on user click action in popup.js by adding 'navigator.clipboard.writeText(req.url);' after showCommand(req.id);

I'm guessing if I want this to happen automatically is to make a change in background.js, but I'm not quite sure where.
I tried adding navigator.clipboard.writeText(???) in several functions but it doesn't work.

Sorry, but I'm not a javscript developer.

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

No branches or pull requests

1 participant