Chromeã®copyã¯, ããã, é ãinput[type=text]ä½ã£ã¦copyãããããã®ãvalueã«ããã¦, selectionStart/Endãããã£ã¦, focusãã¦ã¦, document.execCommand('copy')ããã°JSã ãã§ã§ãã. http://twitter.com/Constellation/status/7188365498 ãããåèã«copy颿°ãä½ã£ã¦ã¿ããInternet ExplorerãSafariãGoogle Chromeã§åããFirefoxã¨Operaã§ä¸æãããæ¹æ³ã¯çºè¦ã§ããã ãã¾ãã§Firebugã®å ¥ã£ã¦ãFirefoxã§ãåãããã«ãã¦ã¿ãã function copy(text) { var input, success; if ("console" in window && "notifyFirebug"


{{#tags}}- {{label}}
{{/tags}}