Created
May 8, 2012 06:37
-
-
Save vivisidea/2633067 to your computer and use it in GitHub Desktop.
浏览器实现copy to clipboard方案
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="tools"><embed width="14" height="15" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" allowscriptaccess="always" quality="high" flashvars="clipboard=grub%20rescue%3Els%20%3C--%20%E6%B3%A80%0Agrub%20rescue%3Eset%20root%3D(hdx%2C%20y)%20%3C--%20%E6%B3%A81%0Agrub%20rescue%3Einsmod%20%2Fboot%2Fgrub%2Flinux16.mod%0Agrub%20rescue%3Elinux16%20%2Fvmlinuz%20root%3D%2Fdev%2Fsda%20ro%20%3C--%20%E6%B3%A82%0Agrub%20rescue%3Einitrd16%20%2Finitrd.img%0Agrub%20rescue%3Eboot%0A" src="/javascripts/syntaxhighlighter/clipboard_new.swf" wmode="transparent"></div> | |
// swf文件可以在这里找到 http://vivisidea.iteye.com/javascripts/syntaxhighlighter/clipboard_new.swf | |
// 测试可以实现复制,但这里有个局限就是需要复制的文本是固定不变的 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment