Chrome原生支持window的copy方法 1 window.copy("this is a test string"); 这样,就把“this is a test string”复制到了剪贴板中 不过要注意,该方法的跨平台性不强,低版本的IE可能不支持