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

Copy info doesn't work in Firefox unless dom.event.clipboardevents.enabled is set to true #316

Open
grotesque opened this issue Jan 10, 2023 · 12 comments
Labels
enhancement New feature or request someday Not planned to do in the near future, mostly due to limited resources

Comments

@grotesque
Copy link

  1. it doesn't copy anything for me
@grotesque grotesque changed the title right click copy info doesn't work copy info doesn't work Jan 10, 2023
@danny0838
Copy link
Owner

Please provide clear steps to reproduce the problem.

@grotesque
Copy link
Author

grotesque commented Jan 10, 2023

Hi Danny,
I'm using python server backend. I right click a saved webpage in sidebar select copy info. Nothing is copied to clipboard.
The "Copy info format" in settings is set to %url%

@danny0838
Copy link
Owner

What is the URL of the item you right click on?

@grotesque
Copy link
Author

@danny0838
Copy link
Owner

Can you provide a minimal copy of scrapbook with the item that can reproduce the issue?

@grotesque
Copy link
Author

timepass.zip
I've removed "personal" and "work" scrapbooks.

@grotesque
Copy link
Author

Did the above attachment work?

@danny0838
Copy link
Owner

I cannot reproduce the problem. Copy info on the item gets http://localhost:8080/timepass/20230110134852538.maff, which is as expected of %url%.

What is the version of your browser, WSB, and PyWSB?

@grotesque
Copy link
Author

I figured it out. I had toggled "dom.event.clipboardevents.enabled"
as per https://lifehacker.com/enable-copy-paste-in-web-pages-that-disallow-it-with-a-1601848114 this helps stop website who disable copy/paste functionality(why?) not do it.

Maybe you can make the addon work with

@danny0838
Copy link
Owner

So you are using Firefox and had dom.event.clipboardevents.enabled set to false? And it works after toggling it to true?

@grotesque
Copy link
Author

Yes.

@danny0838 danny0838 changed the title copy info doesn't work Copy info doesn't work in Firefox unless dom.event.clipboardevents.enabled is set to true Jan 13, 2023
@danny0838
Copy link
Owner

It seems that clipboard is by default not allowed in the extension context. There seems to be many technical issues to implement full support, though.

@danny0838 danny0838 added enhancement New feature or request someday Not planned to do in the near future, mostly due to limited resources labels Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request someday Not planned to do in the near future, mostly due to limited resources
Projects
None yet
Development

No branches or pull requests

2 participants