kdeconnect-chrome-extension
kdeconnect-chrome-extension copied to clipboard
Investigate sending image data rather than image link
BoyM on addons.mozilla.org writes:
Было бы лучше. Если при открытии картинки в браузере, на устройство передавалась картинка (файл), а не ссылка.
Translation:
Would be better. If you open a picture in the browser, the device transferred a picture (file), and not a link.
I originally installed this extension and the com host to do exactly that.
Reason: When KDEConnect is installed and working, just marking the URL will already copy it to my phone. There, I can then just paste the URL from the clipboard. The send function of the Browser plugin appears to do exactly the same. Am I doing something wrong?
What I was hoping for: -The image to be shared to the mobile device directly, e.g. for inserting in chats. Spectacles' share function can already do this (the KDE/Plasma screenshot utility), but one needs to go the extra mile and make a screenshot first.
When KDEConnect is installed and working, just marking the URL will already copy it to my phone. There, I can then just paste the URL from the clipboard. The send function of the Browser plugin appears to do exactly the same. Am I doing something wrong?
The extension should automatically open the link in the associated application on the target device (usually the browser, but sometimes other apps will accept a particular URL), which is the improvement over stock copy-paste - one-click open instead of manually pasting stuff. Not so useful if you want to put the linked data into some other app like chat I guess.
I think to send the image data I'd probably have to download the image again to get it into a javascript object, and then send it with the right mime-type via KDEConnect. I just haven't really had the time or inclination to tackle it, because it's not a use-case that I personally have.
Thank you for the fast response. Sending images (screenshots and other) to my phone is about 90% of what I do with the whole kdeconnect ecosystem. It is my way of getting around using messengers and other applications that have no native linux clients. I guess that doesn't apply to everybody else!
Cheers, Jan