Pastebin.com - #1 paste tool since 2002! Jeffothy’s Keyings. Jeffrey Larson In the past I’ve wondered if it was possible to make a cross-browser (JavaScript) script that a webpage could execute to copy some text to the windows clipboard.
Would be handy and would save the user from pulling the whole CTRL+C trick out. It was pretty easy to do with Internet Explorer with the code below… but we all don’t use IE. holdtext.innerText = copytext.innerText; Copied = holdtext.createTextRange(); Copied.execCommand("Copy"); Credit to Mark O’Sullivan of since he has a solution for this problem. In his file browser / photo gallery application, there is a link to copy the URL of the file to the clipboard… works in both Firefox and IE (I also checked in Opera 8.5 and it didn’t seem to work). RogePost File Hosting Service. Ditto, Clipboard Extension.