好!欢迎访问迷津渡口 现在时间是: 天气 °C ~ °C

迷津渡口

越感到迷惑 越接近真理

clipboard.js--保留换行的纯js实现的剪切板

未来的世界是HTML5的世界,Flash肯定会慢慢被淘汰。

甚至Adobe公司都已经发出声明鼓励开发人员使用HTML5,而不是Flash。

所以虽然现在常用的剪切板都是用Flash做的,未来还是得回归到网页本身。


最近在做网站的剪切板功能,小指发现了一个github上的开源库:clipboard.js。

这是一个完全使用js实现的剪切板,本网站已经使用了,可自行查看效果。


test for clipboard.js


具体使用方法项目说明很清楚,可自行查阅,也可留言讨论哦~

原网址:https://clipboardjs.com/

点赞0
   支持一下
挤眼 亲亲 咆哮 开心 想想 可怜 糗大了 委屈 哈哈 小声点 右哼哼 左哼哼 疑问 坏笑 赚钱啦 悲伤 耍酷 勾引 厉害 握手 耶 嘻嘻 害羞 鼓掌 馋嘴 抓狂 抱抱 围观 威武 给力
 点赞
 签到
 表情
 图片
 代码
提交评论

清空信息
关闭评论
cooterscamera
 cooterscamera 约 12 小时前回复
#63
<a href="http://www.cnovas.com/kvinners-nike-kyrie-1-himmelen-bl%C3%A5-gull-obuvk">kvinners nike kyrie 1 himmelen bl氓 gull</a> <a href="http://www.omnicitycorp.com/purple-coach-purse-for-sale-coachh">purple coach purse for sale</a> <a href="http://www.cmcheechalk.com/nike-kobe-icon-blu-bianca-scarpei">nike kobe icon blu bianca</a> <a href="http://www.armandopaz.com/air-jordan-retro-18-grigio-cielo-blu-scarpeh">air jordan retro 18 grigio cielo blu</a> <a href="http://www.alrightdesign.com/houston-texans-new-era-nfl-heather-pop-9fifty-snapback-cap-hath">houston texans new era nfl heather pop 9fifty snapback cap</a> <a href="http://www.parksindust.com/nike-free-run-3-violet-bleu-chaussuresh">nike free run 3 violet bleu</a>
cooterscamera http://www.cooterscamera.com/
cooterscamera
 cooterscamera 约 19 小时前回复
#62
<a href="http://www.tmzred.com/womens-north-face-crescent-sunshine-hoodie-northfaceh">womens north face crescent sunshine hoodie</a> <a href="http://www.alcovozov.com/nike-kobe-9-elite-tour-gelb-schuhej">nike kobe 9 elite tour gelb</a> <a href="http://www.ahmztradefx.com/nike-zoom-ascention-bl%C3%A5-himmelbl%C3%A5-skoh">nike zoom ascention bl氓 himmelbl氓</a> <a href="http://www.isampled.com/nike-kobe-11-flyknit-oranger-vert-chaussuresh">nike kobe 11 flyknit oranger vert</a> <a href="http://www.aldervets.com/chicago-blackhawks-snapback-mitchell-and-ness-hatl">chicago blackhawks snapback mitchell and ness</a> <a href="http://www.vanltl.com/hommes-nike-roshe-run-triangle-oranger-blanc-chaussuresh">hommes nike roshe run triangle oranger blanc</a>
cooterscamera http://www.cooterscamera.com/
companiens
 companiens 2019-02-14 13:33回复
#61
<a href="http://www.apconcierge.com/nike-kobe-9-dam%C3%A4nner-silber-himmelblau-scarpec">nike kobe 9 dam盲nner silber himmelblau</a> <a href="http://www.freonsystem.com/limited-womens-natrell-jamerson-camo-jersey-nfl-nike-houston-texans-31-rush-realtree-nflw">limited womens natrell jamerson camo jersey nfl nike houston texans 31 rush realtree</a> <a href="http://www.jupitertaxx.com/nfl-nike-houston-texans-43-corey-moore-green-salute-to-service-mens-pullover-hoodie-nflx">nfl nike houston texans 43 corey moore green salute to service mens pullover hoodie</a> <a href="http://www.khyenchen.com/nike-mercurial-vapor-jaune-orange-noir-pants-kurpesa">nike mercurial vapor jaune orange noir pants</a> <a href="http://www.latinphonics.com/yeezy-350-boost-gr%C3%A5-and-orange-nike-butyf">yeezy 350 boost gr氓 and orange nike</a> <a href="http://www.liaqui.com/nfl-zadarius-smith-womens-limited-purple-jersey-90-baltimore-ravens-nike-home-vapor-untouchable-nflw">nfl zadarius smith womens limited purple jersey 90 baltimore ravens nike home vapor untouchable</a>
companiens http://www.companiens.com/
amitsrl
 amitsrl 2019-02-13 16:43回复
#60
<a href="http://www.ultimatetd.com/charles-leno-mens-elite-navy-blue-jersey-nike-nfl-chicago-bears-rush-vapor-untouchable-72-nflr">charles leno mens elite navy blue jersey nike nfl chicago bears rush vapor untouchable 72</a> <a href="http://www.unvailevents.com/2015-nike-lebron-xiii---bhm-nero-mettuttiic-oro-hyper-grape-butyg">2015 nike lebron xiii   bhm nero mettuttiic oro hyper grape</a> <a href="http://www.virgocity.com/blue-jays-2-troy-tulowitzki-white-2015-canada-day-stitched-mlb-jersey-nflz">blue jays 2 troy tulowitzki white 2015 canada day stitched mlb jersey</a> <a href="http://www.ycbrowsbeauty.com/nike-navy-blue-womens-tony-dorsett-backer-slim-fit-nfl-33-dallas-cowboys-long-sleeve-t-shirt-nflw">nike navy blue womens tony dorsett backer slim fit nfl 33 dallas cowboys long sleeve t shirt</a> <a href="http://www.gfatraining.com/nike-air-max-tn-r%C3%B8d-and-svart-chaussuresa">nike air max tn r酶d and svart</a> <a href="http://www.karenannelevo.com/air-jordan-13-retro-team-r%C3%B8d-butya">air jordan 13 retro team r酶d</a>
amitsrl http://www.amitsrl.com/
burmamaritime
 burmamaritime 2019-02-12 13:47回复
#59
<a href="http://www.thebiarritz.com/nike-air-max-tn-womens-silver-white-shoesj">nike air max tn womens silver white</a> <a href="http://www.voydnet.com/nike-kobe-10-elite-s%C3%B8lv-hvid-skoi">nike kobe 10 elite s酶lv hvid</a> <a href="http://www.foneandlone.com/air-jordan-retro-6-gamma-blu-blu-scarpel">air jordan retro 6 gamma blu blu</a> <a href="http://www.roomwhiz.com/nike-kd-trey-5-red-grey-shoesj">nike kd trey 5 red grey</a> <a href="http://www.riffsurfers.com/dark-grey-michael-kors-bag-mkh">dark grey michael kors bag</a> <a href="http://www.davidmgaines.com/kvinners-air-jordan-1-mint-gr%C3%B8nn-obuvi">kvinners air jordan 1 mint gr酶nn</a>
burmamaritime http://www.burmamaritime.com/
danieladirosa
 danieladirosa 2019-02-12 05:10回复
#58
<a href="http://www.jupickuplines.com/nike-lebron-witness-rosa-argento-scarpel">nike lebron witness rosa argento</a> <a href="http://www.saleuggboot.com/mens-nike-flynit-air-max-all-blue-shoesj">mens nike flynit air max all blue</a> <a href="http://www.fragmanizletv.com/nike-zoom-vomero-kvinders-r%C3%B8d-s%C3%B8lv-skoi">nike zoom vomero kvinders r酶d s酶lv</a> <a href="http://www.swisshomeas.com/femminile-nike-shox-turbo-21-arancia-blu-scarpeq">femminile nike shox turbo 21 arancia blu</a> <a href="http://www.marinersdiary.com/nike-zoom-pegasus-32-womens-sky-blue-purple-shoesj">nike zoom pegasus 32 womens sky blue purple</a> <a href="http://www.bourseasie.com/black-jet-set-michael-kors-wallet-mkh">black jet set michael kors wallet</a>
[url=http://www.danieladirosa.com/]danieladirosa[/url]
cartsdk
 cartsdk 2019-02-09 19:39回复
#57
<a href="http://www.gladatassen.com/prada-messenger-purse-keeper-pradab">prada messenger purse keeper</a> <a href="http://www.strongtowercf.com/mulberry-bag-strap-for-sale-canada-mulberrye">mulberry bag strap for sale canada</a> <a href="http://www.hamiltonhunt.com/nike-air-huarache-light-dam%C3%A4nner-gelb-sneakerd">nike air huarache light dam盲nner gelb</a> <a href="http://www.mailstraight.com/hermes-kelly-grey-hermesr">hermes kelly grey</a> <a href="http://www.kmkonka.com/nike-air-force-1-puerto-rico-sko-shoesv">nike air force 1 puerto rico sko</a> <a href="http://www.todayjosh.com/purple-coach-bag-coacha">purple coach bag</a>
cartsdk http://www.cartsdk.com/
introtechint
 introtechint 2019-02-09 03:30回复
#56
<a href="http://www.kideschool.com/nike-mercurial-superfly-electro-flare-for-venta-used-obuva">nike mercurial superfly electro flare for venta used</a> <a href="http://www.killersandbox.com/ralph-lauren-svart-short-refined-logo-breathable-sleeved-polox">ralph lauren svart short refined logo breathable sleeved</a> <a href="http://www.mymascensores.com/air-jordan-son-of-mars-bleu-ciel-jaune-schuhee">air jordan son of mars bleu ciel jaune</a> <a href="http://www.paypalwar.com/jordan-future-gr%C3%B8n-iron-scarped">jordan future gr酶n iron</a> <a href="http://www.bamoments.com/nike-youth-rob-gronkowski-limited-navy-blue-jersey-new-england-patriots-nfl-87-rush-vapor-untouchable-nflx">nike youth rob gronkowski limited navy blue jersey new england patriots nfl 87 rush vapor untouchable</a> <a href="http://www.fintecsales.com/rangers-1-elvis-andrus-white-new-cool-base-stitched-mlb-jersey-nflx">rangers 1 elvis andrus white new cool base stitched mlb jersey</a>
introtechint http://www.introtechint.com/
pennphone
 pennphone 2019-02-08 13:11回复
#55
<a href="http://www.dronesofusa.com/adidas-nmd-runner-light-gr%C3%A5-queen-schuhee">adidas nmd runner light gr氓 queen</a> <a href="http://www.eonkraftwerke.com/nike-kobe-8-for-verkauf-queens-scarpea">nike kobe 8 for verkauf queens</a> <a href="http://www.inpaetest.com/nike-zoom-kobe-7-noir-gris-kurpesf">nike zoom kobe 7 noir gris</a> <a href="http://www.lifepakused.com/nike-youth-drew-bledsoe-limited-olive-jersey-new-england-patriots-nfl-11-2017-salute-to-service-nflr">nike youth drew bledsoe limited olive jersey new england patriots nfl 11 2017 salute to service</a> <a href="http://www.offshoretent.com/nike-internationalist-jcrd-rosso-bianca-kurpesf">nike internationalist jcrd rosso bianca</a> <a href="http://www.tmtfiltre.com/air-jordan-3-slides-for-vente-schuhef">air jordan 3 slides for vente</a>
pennphone http://www.pennphone.com/
notmyrichie
 notmyrichie 2019-02-08 05:19回复
#54
<a href="http://www.hinogi.com/nike-kd-9-red-pink-shoesh">nike kd 9 red pink</a> <a href="http://www.prontosignsus.com/nike-free-tr-mujeres-azul-gris-zapatosp">nike free tr mujeres azul gris</a> <a href="http://www.ticahome.com/nike-flynit-air-max-mujeres-negro-cielo-azul-zapatosk">nike flynit air max mujeres negro cielo azul</a> <a href="http://www.prformusic.com/north-face-womens-windbreaker-jacket-northfaceh">north face womens windbreaker jacket</a> <a href="http://www.tatilblogu.com/nike-schwarz-zebra-print-blazer-schuhej">nike schwarz zebra print blazer</a> <a href="http://www.danieladirosa.com/kvinders-nike-air-max-1-gul-bl%C3%A5-skoh">kvinders nike air max 1 gul bl氓</a>
notmyrichie http://www.notmyrichie.com/
顶部留言底部
 00:00/00:00
我想和你虚度时光 - 花房姑娘(9)
  1. 我想和你虚度时光
  2. 花房姑娘
  3. 恋恋风尘
  4. 我喜爱一切不彻底的事物
  5. 我的心里是满的
  6. Long Way
  7. 给少年的歌
  8. 晴日共剪窗
  9. 天上的月你的脸