Copy info doesn't work in Firefox unless `dom.event.clipboardevents.enabled` is set to `true`
- it doesn't copy anything for me
Please provide clear steps to reproduce the problem.
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%
What is the URL of the item you right click on?
https://itsfoss.com/librewolf-vs-firefox/
Can you provide a minimal copy of scrapbook with the item that can reproduce the issue?
timepass.zip I've removed "personal" and "work" scrapbooks.
Did the above attachment work?
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?
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
So you are using Firefox and had dom.event.clipboardevents.enabled set to false? And it works after toggling it to true?
Yes.
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.