-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
10 lines (10 loc) · 5.5 KB
/
Copy pathindex.html
File metadata and controls
10 lines (10 loc) · 5.5 KB
1
2
3
4
5
6
7
8
9
10
<!DOCTYPE html><html lang="zh-CN"><head><meta http-equiv="content-type" content="text/html; charset=utf-8"><meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport"><meta content="yes" name="apple-mobile-web-app-capable"><meta content="black-translucent" name="apple-mobile-web-app-status-bar-style"><meta content="telephone=no" name="format-detection"><meta name="description" content="只有吃饱肚子,才能变得强壮"><title>只有吃饱肚子,才能变得强壮 | null</title><link rel="stylesheet" type="text/css" href="/css/normalize.css?v=0.0.0"><link rel="stylesheet" type="text/css" href="/css/pure-min.css?v=0.0.0"><link rel="stylesheet" type="text/css" href="/css/grids-responsive-min.css?v=0.0.0"><link rel="stylesheet" type="text/css" href="/css/style.css?v=0.0.0"><link rel="stylesheet" href="//cdn.bootcss.com/font-awesome/4.5.0/css/font-awesome.min.css"><link rel="Shortcut Icon" type="image/x-icon" href="/favicon.ico"><link rel="apple-touch-icon" href="/apple-touch-icon.png"><link rel="apple-touch-icon-precomposed" href="/apple-touch-icon.png"></head><body><div class="body_container"><div id="header"><div class="site-name"><h1 class="hidden">只有吃饱肚子,才能变得强壮</h1><a id="logo" href="/.">只有吃饱肚子,才能变得强壮</a><p class="description"></p></div><div id="nav-menu"><a href="/." class="current"><i class="fa fa-home"> 首页</i></a><a href="/archives/"><i class="fa fa-archive"> 归档</i></a><a href="/about/"><i class="fa fa-user"> 关于</i></a><a href="/atom.xml"><i class="fa fa-rss"> 订阅</i></a></div></div><div id="layout" class="pure-g"><div class="pure-u-1 pure-u-md-3-4"><div class="content_container"><div class="post"><h2 class="post-title"><a href="/2016/03/21/jsonp/">jsonp实现跨域的原理</a></h2><div class="post-meta">2016-03-21</div><a data-thread-key="2016/03/21/jsonp/" href="/2016/03/21/jsonp/#comments" class="ds-thread-count"></a><div class="post-content"><p>最近的工作是重构所有的注册,之前的注册比较混乱,各个站点各有各的注册,我的工作就是把他们都改为请求新的注册站点。重构的时候遇到了跨域的问题,就直接采用了jsonp实现,之前一直知道jsonp跨域的原理就是利用script标签可以跨域的漏洞,但一直没想过到底是怎么实现的,现在有空好好想一下。</p></div><p class="readmore"><a href="/2016/03/21/jsonp/">阅读更多</a></p></div><div class="post"><h2 class="post-title"><a href="/2016/03/15/移动web开发tips/">移动web常见适配方案及小tips</a></h2><div class="post-meta">2016-03-15</div><a data-thread-key="2016/03/15/移动web开发tips/" href="/2016/03/15/移动web开发tips/#comments" class="ds-thread-count"></a><div class="post-content"><h1 id="常见适配方案"><a href="#常见适配方案" class="headerlink" title="常见适配方案"></a>常见适配方案</h1><hr></div><p class="readmore"><a href="/2016/03/15/移动web开发tips/">阅读更多</a></p></div></div></div><div class="pure-u-1-4"><div id="sidebar"><div class="widget"><form action="//www.google.com/search" method="get" accept-charset="utf-8" target="_blank" class="search-form"><input type="text" name="q" maxlength="20" placeholder="Search"/><input type="hidden" name="sitesearch" value="http://ccsang.github.io"/></form></div><div class="widget"><div class="widget-title"><i class="fa fa-folder-o"> 分类</i></div></div><div class="widget"><div class="widget-title"><i class="fa fa-star-o"> 标签</i></div><div class="tagcloud"><a href="/tags/jsonp-crossdomain/" style="font-size: 15px;">jsonp, crossdomain</a></div></div><div class="widget"><div class="widget-title"><i class="fa fa-file-o"> 最新文章</i></div><ul class="post-list"><li class="post-list-item"><a class="post-list-link" href="/2016/03/21/jsonp/">jsonp实现跨域的原理</a></li><li class="post-list-item"><a class="post-list-link" href="/2016/03/15/移动web开发tips/">移动web常见适配方案及小tips</a></li></ul></div><div class="widget"><div class="comments-title"><i class="fa fa-comment-o"> 最近评论</i></div><div data-num-items="5" data-show-avatars="0" data-show-time="1" data-show-admin="0" data-excerpt-length="32" data-show-title="1" class="ds-recent-comments"></div></div></div></div><div class="pure-u-1 pure-u-md-3-4"><div id="footer">© <a href="/." rel="nofollow">只有吃饱肚子,才能变得强壮.</a> Powered by<a rel="nofollow" target="_blank" href="https://hexo.io"> Hexo.</a></div></div></div><a id="rocket" href="#top" class="show"></a><script type="text/javascript" src="/js/jquery.min.js?v=0.0.0"></script><script type="text/javascript" src="/js/totop.js?v=0.0.0"></script><script type="text/javascript" src="/js/fancybox.pack.js?v=0.0.0"></script><script type="text/javascript" src="/js/jquery.fancybox.js?v=0.0.0"></script><link rel="stylesheet" type="text/css" href="/css/jquery.fancybox.css?v=0.0.0"><script>var duoshuoQuery = {short_name:'ccsang'};
(function() {
var ds = document.createElement('script');
ds.type = 'text/javascript';ds.async = true;
ds.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//static.duoshuo.com/embed.js';
ds.charset = 'UTF-8';
(document.getElementsByTagName('head')[0]
|| document.getElementsByTagName('body')[0]).appendChild(ds);
})();
</script><script type="text/javascript" src="/js/share.js?v=0.0.0"></script><script type="text/javascript" src="/js/codeblock-resizer.js?v=0.0.0"></script><script type="text/javascript" src="/js/smartresize.js?v=0.0.0"></script></div></body></html>