1.!!的做用: var audiocanplay = !!document.createElement("audio").canPlayType; 可以將一個存在的方法轉換爲truecss
2.強制全屏:html
<!-- UC強制全屏 --> <meta name="full-screen" content="yes"> <!-- QQ強制全屏 --> <meta name="x5-fullscreen" content="true"> <!-- UC應用模式 --> <meta name="browsermode" content="application"> <!-- QQ應用模式 --> <meta name="x5-page-mode" content="app"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
3.一個比較好用的給字符串添加經常使用的方法: http://www.cnblogs.com/yoainet/archive/2011/12/16/2290422.htmlweb
4.控制動畫的播放與中止屬性: http://www.w3school.com.cn/cssref/pr_animation-play-state.aspapp
5.經常使用的js全局方法 http://www.w3school.com.cn/jsref/jsref_obj_global.asp動畫