9 year old WebKit bug just fixed!document.execCommand("copy") only triggers if there is a selectionhttps://bugs.webkit.org/show_bug.cgi?id=156529