码迷,mamicode.com
首页 >  
搜索关键字:chrome headless    ( 10787个结果
phantomjs + selenium headless test
1. 安装seleniumpip install selenium2. 安装phantomjs如果你是Ubuntu12.04,默认安装的版本是1.4.这个会出错。需要安装1.9.7cd /usr/local/sharesudo wget https://bitbucket.org/ariya/pha...
分类:Web程序   时间:2014-06-13 07:32:47    阅读次数:305
querySelectorAll的BUG
querySelector和querySelectorAll是W3C提供的新的查询接口目前IE8/9及Firefox/Chrome/Safari/Opera的最新版已经支持它们。但是Element.querySelectorAll有个bug asfd var bar = ...
分类:其他好文   时间:2014-06-13 00:13:52    阅读次数:340
ie 与 Chrome 时间格式化问题.
ie 与 Chrome 时间格式化通用: new Date(res[i].Time.replaceAll("-", "/")).format("yyyy-MM-dd") replaceAll, format是扩展方法 /* 所以可以用以下几种方式.: string.replace(new RegEx...
分类:其他好文   时间:2014-06-12 17:22:28    阅读次数:293
Google官方网页载入速度检测工具PageSpeed Insights 使用教程
相信有接触前端开发的大神们都听说过Google官方的PageSpeed Tools,这个网页载入速度检测工具有在线版本也有一个 Chrome 扩展,叫PageSpeed Insights,在此之前,Jeff 了解的更多是雅虎的 Yslow 。不过在Jeff 使用过 PageSpeed Insight...
分类:Web程序   时间:2014-06-12 12:31:26    阅读次数:219
【斗医】【15】Web应用开发50天 之 易用性问题
在介绍HTML富文本使用之前,先解决几个易用性的问题1、在chrome浏览器中textarea高度自适应存在问题:当输入任何一个字符时textarea高度都会增加解决办法:(1)在challenge.js中定义autoAdaptHeight()方法,内容如下:/***textarea高度自适应*/functionautoAdaptHeight(compon..
分类:Web程序   时间:2014-06-10 23:25:23    阅读次数:309
atc-前端模板预编译器
artTemplate新一代 javascript 模板引擎artTemplate 是新一代 javascript 模板引擎,它在 v8 中的渲染效率可接近 javascript 性能极限,在 chrome 下渲染效率测试中分别是知名引擎 Mustache 与 micro tmpl 的 25 、 3...
分类:其他好文   时间:2014-06-10 16:26:26    阅读次数:311
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!