-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
266 lines (174 loc) · 9.75 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>扑爬</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="description" content="Less is more">
<meta property="og:type" content="website">
<meta property="og:title" content="扑爬">
<meta property="og:url" content="http://foolyoghurt.github.io/">
<meta property="og:site_name" content="扑爬">
<meta property="og:description" content="Less is more">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="扑爬">
<meta name="twitter:description" content="Less is more">
<link rel="alternative" href="/atom.xml" title="扑爬" type="application/atom+xml">
<link rel="icon" href="/favicon.jpg">
<link href="http://fonts.useso.com/css?family=Source+Code+Pro" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="/css/font-awesome.min.css" type="text/css">
<link rel="stylesheet" href="/css/style.css" type="text/css">
<!--[if lt IE 9]><script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
</head>
<body>
<div id="container">
<div id="wrap">
<header id="header">
<div id="banner"></div>
<div id="header-outer" class="outer">
<div id="header-title" class="inner">
<h1 id="logo-wrap">
<a href="/" id="logo">扑爬</a>
</h1>
<h2 id="subtitle-wrap">
<a href="/" id="subtitle">Less is more</a>
</h2>
</div>
<div id="header-inner" class="inner">
<nav id="main-nav">
<a id="main-nav-toggle" class="nav-icon"></a>
<a class="main-nav-link" href="/">首页</a>
<a class="main-nav-link" href="/archives">存档</a>
<a class="main-nav-link" href="/about">关于</a>
</nav>
<nav id="sub-nav">
<a id="nav-rss-link" class="nav-icon" href="/atom.xml" title="RSS Feed"></a>
<a id="nav-search-btn" class="nav-icon" title="Search"></a>
</nav>
<div id="search-form-wrap">
<form action="//google.com/search" method="get" accept-charset="UTF-8" class="search-form"><input type="search" name="q" results="0" class="search-form-input" placeholder="Search"><input type="submit" value="" class="search-form-submit"><input type="hidden" name="q" value="site:http://foolyoghurt.github.io"></form>
</div>
</div>
</div>
</header>
<div class="outer">
<section id="main">
<article id="post-腾讯前端特工解题报告" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/2014/02/15/腾讯前端特工解题报告/" class="article-date">
<time datetime="2014-02-15T06:32:14.000Z" itemprop="datePublished">2月 15 2014</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/前端/">前端</a>
</div>
</div>
<div class="article-inner">
<header class="article-header">
<i class="fa fa-file-text-o"></i>
<h1 itemprop="name">
<a class="article-title" href="/2014/02/15/腾讯前端特工解题报告/">腾讯前端特工解题报告</a>
</h1>
</header>
<div class="article-entry" itemprop="articleBody">
<p>网站链接:<a href="http://codestar.alloyteam.com/" target="_blank" rel="external">腾讯前端攻略</a></p>
<h2 id="第一关,抓包">第一关,抓包</h2>
<p>提示要抓包,于是查看在chrome查看response header,提示说『请设置隐藏域的值』,于是查了下网页的html代码,发现有一个隐藏域</p>
<figure class="highlight"><table><tr><td class="gutter"><pre><div class="line">1</div></pre></td><td class="code"><pre><div class="line"><<span class="built_in">input</span> <span class="built_in">type</span>=<span class="string">"hidden"</span> name=<span class="string">"timestamp"</span>></div></pre></td></tr></table></figure>
<p>于是猜测是要设置timestamp的值,就用Javascript在Chrome控制台中试了一下,果然对了:)</p>
<figure class="highlight"><table><tr><td class="gutter"><pre><div class="line">1</div></pre></td><td class="code"><pre><div class="line"><span class="built_in">document</span>.getElementsByName(<span class="string">'timestamp'</span>).value = <span class="keyword">new</span> <span class="built_in">Date</span>().getTime()</div></pre></td></tr></table></figure>
<p class="article-more-link">
<a href="/2014/02/15/腾讯前端特工解题报告/#more">阅读全文</a>
</p>
</div>
<footer class="article-footer">
<a data-url="http://foolyoghurt.github.io/2014/02/15/腾讯前端特工解题报告/" data-title="腾讯前端特工解题报告" data-id="5lff4ioaypqoyzpj" class="article-share-link">Share</a>
<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/css/">css</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/js/">js</a></li></ul>
</footer>
</div>
</article>
<article id="post-hello-world" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/2013/07/26/hello-world/" class="article-date">
<time datetime="2013-07-26T06:32:14.000Z" itemprop="datePublished">7月 26 2013</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/hexo/">hexo</a>
</div>
</div>
<div class="article-inner">
<header class="article-header">
<i class="fa fa-file-text-o"></i>
<h1 itemprop="name">
<a class="article-title" href="/2013/07/26/hello-world/">Hello World</a>
</h1>
</header>
<div class="article-entry" itemprop="articleBody">
<h2 id="为什么搭博客">为什么搭博客</h2>
<p>今天看到同学 <a href="http://brotherb.info/" target="_blank" rel="external">Brotherb</a> 搭了一个博客,感觉挺好玩的,点进去一看发现界面<strong>简洁干净</strong>,看着让人感觉很舒服。于是自己按照给的参考资料,再配合无所不能的Google也搭了一个,感觉很棒。博客的搭建很简单也基本顺利,主要是参考资料比较全,<code>还有就是linux下安装软件比较方便,如果是Windows,估计又得折腾半天还不见得能搞定</code>。ps:其实windows也很简单,我现在就是用的windows,之前纯属下意识的偏见。<br>
<p class="article-more-link">
<a href="/2013/07/26/hello-world/#more">阅读全文</a>
</p>
</div>
<footer class="article-footer">
<a data-url="http://foolyoghurt.github.io/2013/07/26/hello-world/" data-title="Hello World" data-id="kjjh3lifl9vmvj17" class="article-share-link">Share</a>
<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/hexo/">hexo</a></li></ul>
</footer>
</div>
</article>
</section>
<aside id="sidebar">
<div class="widget-wrap">
<h3 class="widget-title">Categories</h3>
<div class="widget">
<ul class="category-list"><li class="category-list-item"><a class="category-list-link" href="/categories/hexo/">hexo</a><span class="category-list-count">1</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/前端/">前端</a><span class="category-list-count">1</span></li></ul>
</div>
</div>
<div class="widget-wrap">
<h3 class="widget-title">Tag Cloud</h3>
<div class="widget tagcloud">
<a href="/tags/css/" style="font-size: NaNpx;">css</a><a href="/tags/hexo/" style="font-size: NaNpx;">hexo</a><a href="/tags/js/" style="font-size: NaNpx;">js</a>
</div>
</div>
<div class="widget-wrap">
<h3 class="widget-title">Archives</h3>
<div class="widget">
<ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2014/02/">February 2014</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2013/07/">July 2013</a><span class="archive-list-count">1</span></li></ul>
</div>
</div>
<div class="widget-wrap">
<h3 class="widget-title">Recents</h3>
<div class="widget">
<ul>
<li>
<a href="/2014/02/15/腾讯前端特工解题报告/">腾讯前端特工解题报告</a>
</li>
<li>
<a href="/2013/07/26/hello-world/">Hello World</a>
</li>
</ul>
</div>
</div>
<iframe width="100%" height="550" class="share_self" frameborder="0" scrolling="no" src="http://widget.weibo.com/weiboshow/index.php?language=&width=0&height=550&fansRow=1&ptype=1&speed=0&skin=1&isTitle=1&noborder=1&isWeibo=1&isFans=1&uid=1768698357&verifier=8e94b428&dpc=1"></iframe>
</aside>
</div>
<footer id="footer">
<div class="outer">
<div id="footer-info" class="inner">
© 2015 Song<br>
Powered by <a href="http://zespia.tw/hexo/" target="_blank">Hexo</a>
</div>
</div>
</footer>
</div>
<nav id="mobile-nav">
<a href="/" class="mobile-nav-link">首页</a>
<a href="/archives" class="mobile-nav-link">存档</a>
<a href="/about" class="mobile-nav-link">关于</a>
</nav>
<script src="http://libs.useso.com/js/jquery/2.1.1/jquery.min.js"></script>
<link rel="stylesheet" href="/fancybox/jquery.fancybox.css" media="screen" type="text/css">
<script src="/fancybox/jquery.fancybox.pack.js"></script>
<script src="/js/script.js" type="text/javascript"></script>
</div>
</body>
</html>