17.12.4日报
来源:互联网 发布:清华直博生待遇 知乎 编辑:程序博客网 时间:2024/05/17 00:46
2,找到https://pan.toaone.com 打不开的原因,wolfssl可能某个宏没开,用回openssl就可以了
3,找到http://so.news.cn/#search/0/%E6%90%9C%E7%B4%A2/1 不停刷新的原因了。
下面是堆栈。可以看出如果url的hash有变化,[r.handle]就会调用到 [i.extend.navigate]
这网页写的没考虑兼容webkit,只兼容了ie和chrome
这网页会调用Location::setHash把函数设置进去
webkit会把汉字escape
chrome不会
导致下次去出来的url Fragment不一样,然后这网页就继续设置hash,死循环了
4,继续看so.news.cn会乱码的问题。原因是KURL输出的是utf8,而Location::hash返回给js,js再设置到input里,blink会把这段字符串当成ascii的。
现在打算把kurl返回的改成utf16
===========================================================
i.extend.set (base.min.js:formatted:6443) 设置keyword的值
Backbone.View.extend.changeType (resultView.js?v=20170215:68)
Backbone.Router.extend.setView (router.js?v=20170215:50)
Backbone.Router.extend.init (router.js?v=20170215:35)
i.extend.execute (base.min.js:formatted:7170)
(anonymous function) (base.min.js:formatted:7160)
(anonymous function) (base.min.js:formatted:7308)
_.some._.any (base.min.js:formatted:4869)
i.extend.loadUrl (base.min.js:formatted:7306)
i.extend.start (base.min.js:formatted:7279)
(anonymous function) (router.js?v=20170215:61)
t.exec (sea.js:2)
t.use.e.callback (sea.js:2)
t.onload (sea.js:2)
t.load (sea.js:2)
d (sea.js:2)
onload (seajs-css.js:110)
====
line:6272, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [i.extend._updateHash]
line:6257, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [i.extend.navigate]
line:6109, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [i.extend.navigate]
line:93, [http://tmisc.home.news.cn/search/font/js/search/router.js?v=20170215] , [Backbone.Router.extend.setHash]
line:15, [http://tmisc.home.news.cn/search/font/js/search/view/resultCom.js?v=20170215] , []
line:5400, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [f]
line:5346, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [e.Events.trigger]
line:5494, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [i.extend.set]
line:68, [http://tmisc.home.news.cn/search/font/js/search/view/resultView.js?v=20170215] , [Backbone.View.extend.changeType]
line:50, [http://tmisc.home.news.cn/search/font/js/search/router.js?v=20170215] , [Backbone.Router.extend.setView]
line:35, [http://tmisc.home.news.cn/search/font/js/search/router.js?v=20170215] , [Backbone.Router.extend.init]
line:6106, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [i.extend.execute]
line:6098, [http://tmisc.home.news.cn/search/font/js/base.min.js] , []
line:6238, [http://tmisc.home.news.cn/search/font/js/base.min.js] , []
line:4093, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [_.some._.any]
line:6235, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [i.extend.loadUrl]
line:6211, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [i.extend.start]
line:61, [http://tmisc.home.news.cn/search/font/js/search/router.js?v=20170215] , []
line:2, [http://tmisc.home.news.cn/search/font/js/base/sea.js] , [t.exec]
line:2, [http://tmisc.home.news.cn/search/font/js/base/sea.js] , [e.callback]
line:2, [http://tmisc.home.news.cn/search/font/js/base/sea.js] , [t.onload]
line:2, [http://tmisc.home.news.cn/search/font/js/base/sea.js] , [t.load]
line:2, [http://tmisc.home.news.cn/search/font/js/base/sea.js] , [d]
line:143, [http://tmisc.home.news.cn/search/font/js/base/seajs-css.js] , []
----
line:6272, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [i.extend._updateHash]
line:6257, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [i.extend.navigate]
line:6109, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [i.extend.navigate]
line:93, [http://tmisc.home.news.cn/search/font/js/search/router.js?v=20170215] , [Backbone.Router.extend.setHash]
line:15, [http://tmisc.home.news.cn/search/font/js/search/view/resultCom.js?v=20170215] , []
line:5400, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [f]
line:5346, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [e.Events.trigger]
line:5494, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [i.extend.set]
line:68, [http://tmisc.home.news.cn/search/font/js/search/view/resultView.js?v=20170215] , [Backbone.View.extend.changeType]
line:50, [http://tmisc.home.news.cn/search/font/js/search/router.js?v=20170215] , [Backbone.Router.extend.setView]
line:35, [http://tmisc.home.news.cn/search/font/js/search/router.js?v=20170215] , [Backbone.Router.extend.init]
line:6106, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [i.extend.execute]
line:6098, [http://tmisc.home.news.cn/search/font/js/base.min.js] , []
line:6238, [http://tmisc.home.news.cn/search/font/js/base.min.js] , []
line:4093, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [_.some._.any]
line:6235, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [i.extend.loadUrl]
line:6231, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [i.extend.checkUrl]
line:1733, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [m.event.dispatch]
line:1649, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [r.handle]
- 17.12.4日报
- 17.12.1日报
- 17.12.5日报
- 17.12.6日报
- 17.12.08日报
- 17.12.12日报
- 17.12.13日报
- 17.12.13日报
- 17.12.17日报
- 17.12.18日报
- 17.12.19日报
- 17.12.20日报
- 17.12.21日报
- 17.12.22日报
- 17.12.23日报
- 17.12.24日报
- 17.12.24日报
- 17.12.26日报
- Ice-3.5.1在CentOS 6.5系统中的编译配置教程
- 安装icephp 记
- 线程范围内共享数据
- Primitive Root 原根
- Linux下安装ICE(自测)
- 17.12.4日报
- hxb 2017 部分题解
- Nginx的安装目录详解
- php变量定义和输出
- 在命令行下,如何使用JAD反编译jar文件
- 回溯进阶---迭代深搜IDA*---埃及分数
- 用c语言创建一个窗口
- ASCII、GB2312、GBK、Unicode、UTF-8、UTF-16 编码方式比较分析
- qsort( )使用和实现