safari 无痕模式 localStorage 无效
ocsen 3年前 (2015-12-30) 2915浏览
'QuotaExceededError: DOM Exception 22: An attempt was made to add something to storage that exceeded ' 这是在safari 浏览器无痕模式的时候,l...
Ocsen-因上努力,果上随缘专注前端开发,关注互联网动态,记录生活点滴
ocsen 3年前 (2015-12-30) 2915浏览
'QuotaExceededError: DOM Exception 22: An attempt was made to add something to storage that exceeded ' 这是在safari 浏览器无痕模式的时候,l...
ocsen 3年前 (2015-12-29) 839浏览
var o={flag:true}; var test=!!o.flag;//等效于var test=o.flag||false; alert(test); 由于对null与undefined用!操作符时都会产生true的结果, 所以用两...
ocsen 3年前 (2015-12-14) 1031浏览
原文:http://www.cnblogs.com/yupeng/archive/2012/04/06/2435386.html 感谢作者的分享 在javascript的使用过程中,constructor 和prototype这两个概念是相当重要的,...
ocsen 3年前 (2015-12-14) 1471浏览
1、ajax是什么? — AJAX全称为“AsynchronousJavaScript and XML”(异步JavaScript和XML),是一种创建交互式网页应用的网页开发技术。 — 不是一种新技术,是如下几种技术的组合应用: 基于web标准...
ocsen 3年前 (2015-12-14) 1063浏览
1.typeof typeof(‘2′) === string 2.constructor var str = ‘2’; str.constructor === String 3..call var ...
ocsen 3年前 (2015-12-14) 1908浏览
一、同步加载 平常默认用的都是同步加载。如: <script src=”http://yourdomain.com/script.js“></script> 同步模式又称阻塞模式,会阻止流览器的后续处理...
ocsen 3年前 (2015-12-11) 2042浏览
通过传统的form表单提交的方式上传文件: Html代码 <form id= “uploadForm” action= “http://localhost:8080/cfJAX_RS/rest/fil...
ocsen 3年前 (2015-12-04) 1122浏览
webkit属性 ::-webkit-scrollbar { /* 1 */ } ::-webkit-scrollbar-button { /* 2 */ } ::-webkit-scrollbar-track { /* 3 */ } ::-w...
ocsen 3年前 (2015-12-02) 1366浏览
微信调试 今天向大家介绍一个QQ浏览器的官方调试微信页面的工具。 官方地址:http://blog.qqbrowser.cc/ http://blog.qqbrowser.cc/start/ 使用教程 这些都是so easy的,but ,在使用mac...
ocsen 3年前 (2015-12-02) 1707浏览
很久没有做手机端的开发工作了,最近有个mobile web, m.xiaomei.com 上线后欢迎大家使用,吐槽。 言归正传,今天说一下比较老的IOS的问题,那就是“iOS下的 Fixed + Input 调用键盘的时候fixed无效问题”。 案例...