<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[github_38215533的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/github_38215533</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; github_38215533]]></copyright><item><title><![CDATA[老生常谈——图解3种跨域解决方案]]></title><link>https://blog.youkuaiyun.com/github_38215533/article/details/79344282</link><guid>https://blog.youkuaiyun.com/github_38215533/article/details/79344282</guid><author>github_38215533</author><pubDate>Wed, 21 Feb 2018 21:23:38 +0800</pubDate><description><![CDATA[没有纯前端的跨域解决方案，遇到跨域，请找后端协商方案！什么是跨域？同源策略限制从一个源加载的文档或脚本如何与来自另一个源的资源进行交互。这是一个用于隔离潜在恶意文件的关键的安全机制。 ——MDN跨域的产生来源于浏览器的同源策略。当你访问（请求）的资源和当前页的协议、域名、端口中有一个不同时，就会遇到跨域问题。常见的解决方案有以下3种。1. jsonpjsonp 和 XMLHttpRequest 完...]]></description><category></category></item><item><title><![CDATA[node如何实现一个简单的爬虫]]></title><link>https://blog.youkuaiyun.com/github_38215533/article/details/79344278</link><guid>https://blog.youkuaiyun.com/github_38215533/article/details/79344278</guid><author>github_38215533</author><pubDate>Wed, 21 Feb 2018 21:23:03 +0800</pubDate><description><![CDATA[我就直接上代码了：）var http = require('http');
var cheerio = require('cheerio');

var url = &quot;http://www.baidu.com&quot;; //初始url
function fetchPage(x) { //封装了一层函数
    startRequest(x);
}

function startRequest(x) {
...]]></description><category></category></item><item><title><![CDATA[HTML5中的跨文档消息传递]]></title><link>https://blog.youkuaiyun.com/github_38215533/article/details/79344270</link><guid>https://blog.youkuaiyun.com/github_38215533/article/details/79344270</guid><author>github_38215533</author><pubDate>Wed, 21 Feb 2018 21:21:34 +0800</pubDate><description><![CDATA[跨文档消息传送（cross-document messaging），有时候也简称为XDM，指的是来自不同域的页面间传递消息。例如，www.w3cmm.com域中的一个页面与一个位于内嵌框架中的p2p.w3cmm.com域中的页面通信。在XDM机制出现之前，更稳妥地实现这种通信需要花很多功夫。XDM把这种机制规范化，让我们能既稳妥有简单地实现跨文档通信。XDM的核心是postMessage()方法。...]]></description><category></category></item><item><title><![CDATA[Linux（Centos 7.x）下安装nginx]]></title><link>https://blog.youkuaiyun.com/github_38215533/article/details/79344259</link><guid>https://blog.youkuaiyun.com/github_38215533/article/details/79344259</guid><author>github_38215533</author><pubDate>Wed, 21 Feb 2018 21:20:39 +0800</pubDate><description><![CDATA[下载源码包安装nginx1 cd /usr/local/src2 wget http://nginx.org/download/nginx-1.10.2.tar.gz3 tar -xzvf nginx-1.10.2.tar.gz4 cd nginx-1.10.25 ./configure --with-file-aio --with-ipv6 --with-http_ssl_module --wi...]]></description><category></category></item><item><title><![CDATA[IMWeb训练营作业】作业]]></title><link>https://blog.youkuaiyun.com/github_38215533/article/details/70248718</link><guid>https://blog.youkuaiyun.com/github_38215533/article/details/70248718</guid><author>github_38215533</author><pubDate>Wed, 19 Apr 2017 23:32:40 +0800</pubDate><description><![CDATA[在赶项目，我就简单的做了下。
* {
        margin: 0;
        padding: 0;
      }
      html, body {
        width: 100%;
        height: 100%;
        overflow: hidden;
      }
      input {
        -webkit-tap-hig]]></description><category></category></item></channel></rss>