Pro@programming.dev to Programming@programming.devEnglish · 3 days agoCursed knowledge we have learned as a result of building Immich that we wish we never knew.immich.appexternal-linkmessage-square53linkfedilinkarrow-up1146arrow-down13
arrow-up1143arrow-down1external-linkCursed knowledge we have learned as a result of building Immich that we wish we never knew.immich.appPro@programming.dev to Programming@programming.devEnglish · 3 days agomessage-square53linkfedilink
minus-squaregex@lemmy.worldlinkfedilinkarrow-up16arrow-down1·2 days ago Some web features like the clipboard API only work in “secure contexts” (ie. https or localhost) I think that’s reasonable behavior
minus-squareFizzyOrange@programming.devlinkfedilinkarrow-up10·1 day agoI don’t. You can’t even copy to the clipboard in an insecure context. Except… You can! You just have to use the old deprecated and ridiculously awkward execCommand method. If that’s so insecure why do all browser’s still support it?
I think that’s reasonable behavior
I don’t. You can’t even copy to the clipboard in an insecure context.
Except… You can! You just have to use the old deprecated and ridiculously awkward
execCommand
method.If that’s so insecure why do all browser’s still support it?