News for hackers. Stuff that matters.
Re:How does Trello access the user's clipboard? by gruseom on Saturday August 03, 2013 @11:26PM (#6154514)
I haven't worked on clipboard stuff in a web app yet, and am finding this thread confusing. If there are APIs for this, why are Trello resorting to a complex and probably rather brittle hack? What does the hack give them that the APIs don't?
Re:How does Trello access the user's clipboard? by zetafunction on Sunday August 04, 2013 @12:07AM (#6154602)
I'm not sure, but several guesses: 1) The clipboard APIs aren't well known. 2) You can't normally set HTML content in the clipboard with IE since it only supports 'Text' and 'URL' types (http://msdn.microsoft.com/en-us/library/ms536744(v=vs.85).as...). 3) The IE interface (via window.clipboardData) might trigger an infobar. I didn't really test this though.