Pro@programming.dev to Programming@programming.devEnglish · 2か月前Cursed knowledge we have learned as a result of building Immich that we wish we never knew.immich.appexternal-linkmessage-square56linkfedilinkarrow-up1148arrow-down14
arrow-up1144arrow-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 · 2か月前message-square56linkfedilink
minus-squaregex@lemmy.worldlinkfedilinkarrow-up17arrow-down1·2か月前 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-up11·2か月前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?
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?