开发者

html 5 - to offer full clipboard control? (for discussion)

开发者 https://www.devze.com 2023-01-16 21:08 出处:网络
I get it. Security becomes an issue with allowing a website to Paste content onto a users clipboard. I have yet to find a reliable way to do that, that doesn\'t involve on the subject-to-change per th

I get it. Security becomes an issue with allowing a website to Paste content onto a users clipboard. I have yet to find a reliable way to do that, that doesn't involve on the subject-to-change per the current version, soon-to-stop-working Flash way of doing开发者_开发技巧 it.

Perfect world: the 1st time a website tries to use a user's clipboard, prompt him or her with "site ABC wants to copy content on your clipboard, do you want to allow?" with "always trust ABC" as a checkbox, would be great. Best of both worlds.

Summary question for discussion: will html 5 make it easier to utilize the users' clipboard?


The HTML5 spec currently contains one mention of the word 'clipboard' and that is in relation to change events so: Probably not.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号