You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1046 lines
52 KiB

<!DOCTYPE html>
<html lang="">
<head>
<title>Ushio-V2ray使用方法 - EEE.DOG</title><meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<meta name="theme-color" content="#f8f5ec" />
<meta name="msapplication-navbutton-color" content="#f8f5ec">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="#f8f5ec">
<meta name="description" content="Ushio-V2ray使用方法"/><meta name="keywords" content="iotcat,yimian,blog" /><link rel="alternate" href="/atom.xml" title="EEE.DOG"><link rel="shortcut icon" type="image/x-icon" href="/favicon.ico?v=1.0.0" /><script>lang = ['zh', 'en'];</script>
<script type="text/javascript" src="https://cdn.yimian.xyz/ushio-js/ushio-head.min.js"></script>
<script>page.proj = 'iotcat/eee.dog-public';</script>
<!--<link rel="stylesheet" type="text/css" href="https://cdn.yimian.xyz/kayo/lib/iziModal/iziModal.min.css" />-->
<!--<link rel="stylesheet" type="text/css" href="https://cdn.yimian.xyz/kayo/lib/iziToast/iziToast.min.css" />-->
<link rel="stylesheet" media="none" onload="this.media='all'" type="text/css" href="https://cdn.yimian.xyz/shaky/shaky.css">
<link rel="canonical" href="https://www.eee.dog/tech/v2ray-instruction.html"/>
<link rel="stylesheet" media="none" onload="this.media='all'" type="text/css" href="https://cdn.yimian.xyz/kayo/lib/fancybox/jquery.fancybox.css" /><script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [['$','$'], ['\\(','\\)']] } });
</script>
<script type="text/javascript" async src="https://cdn.yimian.xyz/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-MML-AM_CHTML"></script>
<link rel="stylesheet" type="text/css" href="https://cdn.yimian.xyz/kayo/css/style.css?v=1.0.0" />
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-169276192-1" data-pjax></script>
<script>
pjax_google_analytics = () => {
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-169276192-1');
}
</script><script id="baidu_push">
(function(){
var bp = document.createElement('script');
var curProtocol = window.location.protocol.split(':')[0];
if (curProtocol === 'https') {
bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
}
else {
bp.src = 'http://push.zhanzhang.baidu.com/push.js';
}
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(bp, s);
})();
</script>
<script>
window.config = {"leancloud":"","toc":true,"fancybox":true,"pjax":{"enable":true,"loadingbar":true},"latex":true};
</script>
<meta name="generator" content="Hexo 4.2.1"><link rel="alternate" href="/atom.xml" title="EEE.DOG" type="application/atom+xml">
</head>
<body><div id="mobile-navbar" class="mobile-navbar">
<div class="mobile-header-logo">
<a href="/." class="logo">EEE.DOG</a>
</div>
<div class="mobile-navbar-icon">
<span></span>
<span></span>
<span></span>
</div>
<div class="loading-bar">
<div class="progress"></div>
</div>
</div>
<nav id="mobile-menu" class="mobile-menu slideout-menu">
<ul class="mobile-menu-list"><div id="mobile-menu-Home">
<a href="/">
<li class="mobile-menu-item"><span class=".en">Home</span><span class=".zh">主页</span>
</li>
</a></div><div id="mobile-menu-Archives">
<a href="/archives/">
<li class="mobile-menu-item"><span class=".en">Archives</span><span class=".zh">归档</span>
</li>
</a></div><div id="mobile-menu-Categories">
<a href="/categories/">
<li class="mobile-menu-item"><span class=".en">Categories</span><span class=".zh">分类</span>
</li>
</a></div><div id="mobile-menu-Projects">
<a href="#">
<li class="mobile-menu-item"><span class=".en">Projects</span><span class=".zh">项目</span>
</li>
</a><ul class="sub-menu" style="display: none;">
<li>
<a href="https://fp.js.org/" target="_blank" rel="noopener">
<span class=".en">fp</span><span class=".zh">fp</span>
</a>
</li>
<li>
<a href="https://wiot.js.org/" target="_blank" rel="noopener">
<span class=".en">wIoT</span><span class=".zh">wIoT</span>
</a>
</li>
<li>
<a href="https://github.com/iotcat/kms" target="_blank" rel="noopener">
<span class=".en">kms</span><span class=".zh">kms</span>
</a>
</li>
<li>
<a href="https://ushio.yimian.xyz/" target="_blank" rel="noopener">
<span class=".en">ushio</span><span class=".zh">Ushio</span>
</a>
</li>
</ul>
<script>$('#mobile-menu-Projects').click(function(){
$("#mobile-menu-Projects ul").toggle();
})</script>
</div><div id="mobile-menu-Map">
<a href="#">
<li class="mobile-menu-item"><span class=".en">Map</span><span class=".zh">导航</span>
</li>
</a><ul class="sub-menu" style="display: none;">
<li>
<a href="https://api.yimian.xyz/" target="_blank" rel="noopener">
<span class=".en">APIs</span><span class=".zh">接口</span>
</a>
</li>
<li>
<a href="https://img.yimian.xyz/" target="_blank" rel="noopener">
<span class=".en">Imgs</span><span class=".zh">图库</span>
</a>
</li>
<li>
<a href="/">
<span class=".en">Imgbed</span><span class=".zh">图床</span>
</a>
</li>
<li>
<a href="https://share.yimian.xyz/" target="_blank" rel="noopener">
<span class=".en">Fileshare</span><span class=".zh">文件分享</span>
</a>
</li>
<li>
<a href="https://monitor.yimian.xyz/" target="_blank" rel="noopener">
<span class=".en">Server Monitor</span><span class=".zh">服务器监控</span>
</a>
</li>
<li>
<a href="https://status.yimian.xyz/" target="_blank" rel="noopener">
<span class=".en">Service Status</span><span class=".zh">服务状态</span>
</a>
</li>
<li>
<a href="https://acg.watch/" target="_blank" rel="noopener">
<span class=".en">ACG.WATCH</span><span class=".zh">视频</span>
</a>
</li>
<li>
<a href="https://onedrive.yimian.xyz/" target="_blank" rel="noopener">
<span class=".en">Oneindex</span><span class=".zh">网盘</span>
</a>
</li>
<li>
<a href="https://chat.yimian.xyz/" target="_blank" rel="noopener">
<span class=".en">Chat</span><span class=".zh">聊天室</span>
</a>
</li>
<li>
<a href="https://proxy.yimian.xyz/" target="_blank" rel="noopener">
<span class=".en">Proxy</span><span class=".zh">下载代理</span>
</a>
</li>
<li>
<a href="https://shorturl.yimian.xyz/" target="_blank" rel="noopener">
<span class=".en">ShortenURL</span><span class=".zh">短链</span>
</a>
</li>
</ul>
<script>$('#mobile-menu-Map').click(function(){
$("#mobile-menu-Map ul").toggle();
})</script>
</div><div id="mobile-menu-About">
<a href="#">
<li class="mobile-menu-item"><span class=".en">About</span><span class=".zh">关于</span>
</li>
</a><ul class="sub-menu" style="display: none;">
<li>
<a href="/links/">
<span class=".en">links</span><span class=".zh">友链</span>
</a>
</li>
<li>
<a href="https://iotcat.me/" target="_blank" rel="noopener">
<span class=".en">Me</span><span class=".zh">关于我</span>
</a>
</li>
<li>
<a href="https://cv.yimian.xyz/contact.html" target="_blank" rel="noopener">
<span class=".en">Contact</span><span class=".zh">留言板</span>
</a>
</li>
</ul>
<script>$('#mobile-menu-About').click(function(){
$("#mobile-menu-About ul").toggle();
})</script>
</div></ul>
</nav>
<div class="container" id="mobile-panel">
<header id="header" class="header"><div class="logo-wrapper">
<a href="/." class="logo">EEE.DOG</a>
</div>
<nav class="site-navbar"><ul id="menu" class="menu"><li class="menu-item">
<a id="menu-Home" class="menu-item-link" href="/">
<span class=".en">Home</span><span class=".zh">主页</span>
</a>
</li>
<li class="menu-item">
<a id="menu-Archives" class="menu-item-link" href="/archives/">
<span class=".en">Archives</span><span class=".zh">归档</span>
</a>
</li>
<li class="menu-item">
<a id="menu-Categories" class="menu-item-link" href="/categories/">
<span class=".en">Categories</span><span class=".zh">分类</span>
</a>
</li>
<li class="menu-item">
<a id="menu-Projects" class="menu-item-link" href="#">
<span class=".en">Projects</span><span class=".zh">项目</span>
</a>
<script>
$("#menu-Projects").click(function(){
tips.question({
timeout: 20000,
close: false,
overlay: true,
displayMode: 'once',
//id: 'question',
zindex: 999,
title: 'Projects',
message: '',
position: 'center',
buttons: [
['<button><b>'+((page.tran.getLang() != 'zh')?'fp':'fp')+'</b></button>', function (instance, toast) {
instance.hide({ transitionOut: 'fadeOut' }, toast, 'button');
if("undefined" == "true")
pjax.loadUrl("https://fp.js.org/");
else
window.location.href="https://fp.js.org/";
}, true],
['<button><b>'+((page.tran.getLang() != 'zh')?'wIoT':'wIoT')+'</b></button>', function (instance, toast) {
instance.hide({ transitionOut: 'fadeOut' }, toast, 'button');
if("undefined" == "true")
pjax.loadUrl("https://wiot.js.org/");
else
window.location.href="https://wiot.js.org/";
}, true],
['<button><b>'+((page.tran.getLang() != 'zh')?'kms':'kms')+'</b></button>', function (instance, toast) {
instance.hide({ transitionOut: 'fadeOut' }, toast, 'button');
if("undefined" == "true")
pjax.loadUrl("https://github.com/iotcat/kms");
else
window.location.href="https://github.com/iotcat/kms";
}, true],
['<button><b>'+((page.tran.getLang() != 'zh')?'ushio':'Ushio')+'</b></button>', function (instance, toast) {
instance.hide({ transitionOut: 'fadeOut' }, toast, 'button');
if("undefined" == "true")
pjax.loadUrl("https://ushio.yimian.xyz/");
else
window.location.href="https://ushio.yimian.xyz/";
}, true],
['<button><b>close</b></button>', function (instance, toast) {
instance.hide({ transitionOut: 'fadeOut' }, toast, 'button');
}, true],
]
});
});
</script>
</li>
<li class="menu-item">
<a id="menu-Map" class="menu-item-link" href="#">
<span class=".en">Map</span><span class=".zh">导航</span>
</a>
<script>
$("#menu-Map").click(function(){
tips.question({
timeout: 20000,
close: false,
overlay: true,
displayMode: 'once',
//id: 'question',
zindex: 999,
title: 'Map',
message: '',
position: 'center',
buttons: [
['<button><b>'+((page.tran.getLang() != 'zh')?'APIs':'接口')+'</b></button>', function (instance, toast) {
instance.hide({ transitionOut: 'fadeOut' }, toast, 'button');
if("undefined" == "true")
pjax.loadUrl("https://api.yimian.xyz/");
else
window.location.href="https://api.yimian.xyz/";
}, true],
['<button><b>'+((page.tran.getLang() != 'zh')?'Imgs':'图库')+'</b></button>', function (instance, toast) {
instance.hide({ transitionOut: 'fadeOut' }, toast, 'button');
if("undefined" == "true")
pjax.loadUrl("https://img.yimian.xyz/");
else
window.location.href="https://img.yimian.xyz/";
}, true],
['<button><b>'+((page.tran.getLang() != 'zh')?'Imgbed':'图床')+'</b></button>', function (instance, toast) {
instance.hide({ transitionOut: 'fadeOut' }, toast, 'button');
if("undefined" == "true")
pjax.loadUrl("/");
else
window.location.href="undefined";
}, true],
['<button><b>'+((page.tran.getLang() != 'zh')?'Fileshare':'文件分享')+'</b></button>', function (instance, toast) {
instance.hide({ transitionOut: 'fadeOut' }, toast, 'button');
if("undefined" == "true")
pjax.loadUrl("https://share.yimian.xyz/");
else
window.location.href="https://share.yimian.xyz/";
}, true],
['<button><b>'+((page.tran.getLang() != 'zh')?'Server Monitor':'服务器监控')+'</b></button>', function (instance, toast) {
instance.hide({ transitionOut: 'fadeOut' }, toast, 'button');
if("undefined" == "true")
pjax.loadUrl("https://monitor.yimian.xyz/");
else
window.location.href="https://monitor.yimian.xyz/";
}, true],
['<button><b>'+((page.tran.getLang() != 'zh')?'Service Status':'服务状态')+'</b></button>', function (instance, toast) {
instance.hide({ transitionOut: 'fadeOut' }, toast, 'button');
if("undefined" == "true")
pjax.loadUrl("https://status.yimian.xyz/");
else
window.location.href="https://status.yimian.xyz/";
}, true],
['<button><b>'+((page.tran.getLang() != 'zh')?'ACG.WATCH':'视频')+'</b></button>', function (instance, toast) {
instance.hide({ transitionOut: 'fadeOut' }, toast, 'button');
if("undefined" == "true")
pjax.loadUrl("https://acg.watch/");
else
window.location.href="https://acg.watch/";
}, true],
['<button><b>'+((page.tran.getLang() != 'zh')?'Oneindex':'网盘')+'</b></button>', function (instance, toast) {
instance.hide({ transitionOut: 'fadeOut' }, toast, 'button');
if("undefined" == "true")
pjax.loadUrl("https://onedrive.yimian.xyz/");
else
window.location.href="https://onedrive.yimian.xyz/";
}, true],
['<button><b>'+((page.tran.getLang() != 'zh')?'Chat':'聊天室')+'</b></button>', function (instance, toast) {
instance.hide({ transitionOut: 'fadeOut' }, toast, 'button');
if("undefined" == "true")
pjax.loadUrl("https://chat.yimian.xyz/");
else
window.location.href="https://chat.yimian.xyz/";
}, true],
['<button><b>'+((page.tran.getLang() != 'zh')?'Proxy':'下载代理')+'</b></button>', function (instance, toast) {
instance.hide({ transitionOut: 'fadeOut' }, toast, 'button');
if("undefined" == "true")
pjax.loadUrl("https://proxy.yimian.xyz/");
else
window.location.href="https://proxy.yimian.xyz/";
}, true],
['<button><b>'+((page.tran.getLang() != 'zh')?'ShortenURL':'短链')+'</b></button>', function (instance, toast) {
instance.hide({ transitionOut: 'fadeOut' }, toast, 'button');
if("undefined" == "true")
pjax.loadUrl("https://shorturl.yimian.xyz/");
else
window.location.href="https://shorturl.yimian.xyz/";
}, true],
['<button><b>close</b></button>', function (instance, toast) {
instance.hide({ transitionOut: 'fadeOut' }, toast, 'button');
}, true],
]
});
});
</script>
</li>
<li class="menu-item">
<a id="menu-About" class="menu-item-link" href="#">
<span class=".en">About</span><span class=".zh">关于</span>
</a>
<script>
$("#menu-About").click(function(){
tips.question({
timeout: 20000,
close: false,
overlay: true,
displayMode: 'once',
//id: 'question',
zindex: 999,
title: 'About',
message: '',
position: 'center',
buttons: [
['<button><b>'+((page.tran.getLang() != 'zh')?'links':'友链')+'</b></button>', function (instance, toast) {
instance.hide({ transitionOut: 'fadeOut' }, toast, 'button');
if("true" == "true")
pjax.loadUrl("/links/");
else
window.location.href="/links/";
}, true],
['<button><b>'+((page.tran.getLang() != 'zh')?'Me':'关于我')+'</b></button>', function (instance, toast) {
instance.hide({ transitionOut: 'fadeOut' }, toast, 'button');
if("undefined" == "true")
pjax.loadUrl("https://iotcat.me/");
else
window.location.href="https://iotcat.me/";
}, true],
['<button><b>'+((page.tran.getLang() != 'zh')?'Contact':'留言板')+'</b></button>', function (instance, toast) {
instance.hide({ transitionOut: 'fadeOut' }, toast, 'button');
if("undefined" == "true")
pjax.loadUrl("https://cv.yimian.xyz/contact.html");
else
window.location.href="https://cv.yimian.xyz/contact.html";
}, true],
['<button><b>close</b></button>', function (instance, toast) {
instance.hide({ transitionOut: 'fadeOut' }, toast, 'button');
}, true],
]
});
});
</script>
</li>
</ul></nav>
</header>
<main id="main" class="main">
<div class="content-wrapper">
<div id="content" class="content"><article class="post">
<header class="post-header">
<h1 class="post-title"><span class=".zh">Ushio-V2ray使用方法</span><span class=".en" hidden>Ushio V2ray Instruction</span>
</h1>
<div class="post-meta">
<span class="post-time">
2020-11-04
</span><span class="post-category">
<a href="/categories/tech/">tech</a>
</span>
</div>
</header>
<style>.toc-level-2 > .toc-child {display: none !important; }</style>
<div class="post-toc" id="post-toc">
<h2 class="post-toc-title">Contents</h2>
<div class="post-toc-content">
<ol class="toc"><li class="toc-item toc-level-2"><a class="toc-link" href="#流程总览"><span class="toc-text">流程总览</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#用户注册"><span class="toc-text">用户注册</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#v2ray软件安装"><span class="toc-text">v2ray软件安装</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#Win10"><span class="toc-text">Win10</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#Android"><span class="toc-text">Android</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#Ios"><span class="toc-text">Ios</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Process-overview"><span class="toc-text">Process overview</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#User-registration"><span class="toc-text">User registration</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#v2ray-software-installation"><span class="toc-text">v2ray software installation</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#Win10-1"><span class="toc-text">Win10</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#Android-1"><span class="toc-text">Android</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#Ios-1"><span class="toc-text">Ios</span></a></li></ol></li></ol>
</div>
</div>
<script>var arr = [];var ts = '';if($('.post-toc-content').children().length>1){var el = '.post-toc-content';ts = ($(el).children('ol')[0].outerHTML);}else{var el = '.toc';};for(var i = 0; i < $(el).children('li').length; i++){arr.push($(el).children('li')[i].outerHTML);}; arr.splice(arr.length / 2, 0, '</span><span class=".en">');arr.unshift(ts);arr.unshift('<span class=".zh">');arr.push('</span>');$(el).html(arr.join(''));</script><div class="post-content"><span class=".zh">
<p>Ushio V2ray 使用方法。</p>
</span>
<span class=".en">
<p>Ushio V2ray Instruction..</p>
</span>
<a id="more"></a>
<script>
session.onload(function(){
if(page.tran.getLang() == 'en'){
tips.warning({
title: 'Caution',
position: 'topRight',
message: 'This page was translated by Machine!!',
buttons: [['<button>Show Original Page</button>', function (instance, toast) {
page.tran.setLang('zh');
instance.hide({ transitionOut: 'fadeOut' }, toast, 'button');
}, true]]
});
}
});
</script>
<span class=".zh">
<blockquote>
<p>本服务仅向以学术研究为目的学生提供!<br>本服务非盈利,但可能会根据您的使用情况收取少许费用,来平摊服务器的费用!</p>
</blockquote>
<h2 id="流程总览"><a href="#流程总览" class="headerlink" title="流程总览"></a>流程总览</h2><ul>
<li>用户注册</li>
<li>v2ray软件安装</li>
</ul>
<h2 id="用户注册"><a href="#用户注册" class="headerlink" title="用户注册"></a>用户注册</h2><p>在开始安装软件前,请先前往<a href="https://v2ray.yimian.xyz/" target="_blank" rel="noopener">https://v2ray.yimian.xyz/</a>使用手机号进行账户注册。</p>
<blockquote>
<p>如确有使用需求,请在注册后将您的学生身份证明和注册手机号发送至<a href="mailto:i@iotcat.me">i@iotcat.me</a>,在我检查过您的需求合法性后将赋予您使用权限!</p>
</blockquote>
<h2 id="v2ray软件安装"><a href="#v2ray软件安装" class="headerlink" title="v2ray软件安装"></a>v2ray软件安装</h2><p>本文包含<a href="#Win10">Win10</a><a href="#Android">安卓</a><a href="#Ios">IOS/Ipad OS</a>的软件安装方法,请根据相应流程进行安装。</p>
<blockquote>
<p>如果您有任何疑惑,请在下方评论中提出!</p>
</blockquote>
<h3 id="Win10"><a href="#Win10" class="headerlink" title="Win10"></a>Win10</h3><p><strong>下载</strong></p>
<ul>
<li>使用浏览器访问<a href="https://onedrive.yimian.xyz/packages/programs/all/v2ray/Windows_v2rayN-Core.zip" target="_blank" rel="noopener">http://eee.dog/8bcc14</a>下载名为<code>Windows_v2rayN-Core.zip</code>的压缩文件。</li>
</ul>
<p><strong>解压</strong></p>
<ul>
<li><p>将下载的压缩文件解压到C盘根目录,如下图</p>
<blockquote>
<p>如果提示需要<strong>管理员权限</strong>,请一律选<strong></strong></p>
</blockquote>
<p><img src="https://api.yimian.xyz/img/?path=imgbed/img_2eb9b63_1565x429_8_null_normal.jpeg" alt="解压文件图"></p>
</li>
</ul>
<p><strong>配置</strong></p>
<ul>
<li><p>请打开C盘中刚才解压的文件夹,找到名为<code>V2ray</code><code>V2rayN.exe</code>的程序,双击打开。如下图。<br><img src="https://api.yimian.xyz/img/?path=imgbed/img_430e95a_1557x460_8_null_normal.jpeg" alt="V2rayN图"></p>
</li>
<li><p>找到右下角任务栏,找到下图中的图标,双击打开<br><img src="https://api.yimian.xyz/img/?path=imgbed/img_3a35a1f_928x246_8_null_normal.jpeg" alt="V2rayN图标"></p>
</li>
<li><p>选中窗口上方的<strong>订阅</strong>,点击<strong>订阅设置</strong>如下图<br><img src="https://api.yimian.xyz/img/?path=imgbed/img_4574629_1421x180_8_null_normal.jpeg" alt="订阅设置"></p>
</li>
<li><p>打开<a href="https://v2ray.yimian.xyz/" target="_blank" rel="noopener">https://v2ray.yimian.xyz</a>并登录,待出现二维码后点击<strong>Copy</strong>。如下图<br><img src="https://api.yimian.xyz/img/?path=imgbed/img_6d86c79_1254x711_8_null_normal.jpeg" alt="获取订阅地址"></p>
</li>
<li><p>回到订阅设置的窗口,将刚才复制的内容粘贴到<strong>地址URL框</strong>中,勾选<strong>启用</strong>,点击<strong>确定</strong>。如下图<br><img src="https://api.yimian.xyz/img/?path=imgbed/img_50dc56e_867x752_8_null_normal.jpeg" alt="设置订阅地址"></p>
</li>
<li><p>点击主窗口上方的<strong>参数设置</strong>如下图</p>
</li>
</ul>
<p><img src="https://api.yimian.xyz/img/?path=imgbed/img_6a56090_1313x195_8_null_normal.jpeg" alt="参数设置"></p>
<ul>
<li>选择<strong>V2rayN设置</strong>,勾选<strong>开机自动启动</strong>,点击下方<strong>确定</strong>。如下图</li>
</ul>
<p><img src="https://api.yimian.xyz/img/?path=imgbed/img_0b74331_993x1020_8_null_normal.jpeg" alt="开机启动"></p>
<ul>
<li>回到主窗口,点击<strong>更新订阅</strong>如下图</li>
</ul>
<p><img src="https://api.yimian.xyz/img/?path=imgbed/img_396bcc7_1037x174_8_null_normal.jpeg" alt="更新订阅"></p>
<ul>
<li><p>此时,主窗口中会多出一个或几个服务器,如下图</p>
<p><img src="https://api.yimian.xyz/img/?path=imgbed/img_4419a90_1196x216_8_null_normal.jpeg" alt="服务器列表"></p>
</li>
<li><p>关闭主窗口,右键右下角状态栏中的V2ray,选择<strong>服务器</strong>-&gt;<strong>Vmess-Los_Angeles(….</strong>。如下图<br><img src="https://api.yimian.xyz/img/?path=imgbed/img_0266a2f_1067x288_8_null_normal.jpeg" alt="选择服务器"></p>
</li>
<li><p>右键右下角状态栏中的V2ray,选择<strong>Http代理</strong>-&gt;<strong>…(PAC模式)</strong>。如下图<br><img src="https://api.yimian.xyz/img/?path=imgbed/img_8c3a651_1088x306_8_null_normal.jpeg" alt="PAC模式"></p>
</li>
</ul>
<p><strong>验证</strong></p>
<ul>
<li>浏览器打开<a href="https://www.google.com" target="_blank" rel="noopener">https://google.com</a>试一下能否访问。</li>
</ul>
<h3 id="Android"><a href="#Android" class="headerlink" title="Android"></a>Android</h3><p><strong>下载安装软件</strong></p>
<ul>
<li>浏览器打开<a href="https://onedrive.yimian.xyz/packages/programs/all/v2ray/Android_v2rayNG_1.3.1.apk" target="_blank" rel="noopener">http://eee.dog/6db2e3</a>下载V2ray安卓安装包</li>
<li>点开安装包进行安装</li>
</ul>
<p><strong>配置</strong></p>
<ul>
<li>使用手机浏览器,打开<a href="https://v2ray.yimian.xyz/" target="_blank" rel="noopener">https://v2ray.yimian.xyz/</a>,进行登录</li>
<li>待页面显示出二维码,点击<strong>Copy</strong></li>
<li>打开安装的V2rayNG软件,点击左上角三条杠,展开左侧栏,点击<strong>订阅设置</strong></li>
<li>进入订阅设置页面后,点击右上角<strong>加号</strong></li>
<li>备注中填<strong>ushio</strong>, 地址url中填<strong>刚才复制的东西</strong>,点击右上角对勾。</li>
<li>回到主页面,点击左上角三条杠,展开左侧栏,点击<strong>设置</strong></li>
<li>进入设置页面后,点击<strong>分应用代理</strong></li>
<li>勾选<strong>分应用代理</strong>模式,然后在列表中勾选需要访问外网的app,如twitter, youtube等</li>
<li>回到主页面,点击右上角三个点,点击<strong>更新订阅</strong></li>
<li>点一下主页面列表中的<strong>Los_Angeles</strong>,使其左侧变绿</li>
<li>点击主页面右下角的V图标,使其变绿</li>
</ul>
<p><strong>验证</strong></p>
<ul>
<li>点击主页面下方<strong>已连接,点击测试连接</strong>语句,检测连接是否成功</li>
</ul>
<h3 id="Ios"><a href="#Ios" class="headerlink" title="Ios"></a>Ios</h3><ul>
<li>在系统设置中更改苹果账户的地区到中国大陆以外的地方,比如英国、美国等。</li>
<li>在app store购买并安装Shadowrocket软件</li>
<li>使用浏览器打开<a href="https://v2ray.yimian.xyz/" target="_blank" rel="noopener">https://v2ray.yimian.xyz</a>,进行登录</li>
<li>待页面显示出二维码,点击<strong>Copy</strong></li>
<li>打开Shadowrocket软件</li>
<li>点击右上角加号</li>
<li>类型选择<strong>Subscribe</strong></li>
<li>URL中粘贴刚才复制的东西</li>
<li>点击右上角完成</li>
<li>点击首页中的api.yimian.xyz,点击<strong>Los_Angeles</strong></li>
<li>在首页第一行,勾选<strong>Los_Angeles</strong></li>
<li>使用浏览器访问<a href="https://www.google.com" target="_blank" rel="noopener">https://google.com</a>试一下</li>
</ul>
</span>
<span class=".en">
<h2 id="Process-overview"><a href="#Process-overview" class="headerlink" title="Process overview"></a>Process overview</h2><ul>
<li>User registration</li>
<li>v2ray software installation</li>
</ul>
<h2 id="User-registration"><a href="#User-registration" class="headerlink" title="User registration"></a>User registration</h2><p>Before installing the software, please go to <a href="https://v2ray.yimian.xyz/" target="_blank" rel="noopener">https://v2ray.yimian.xyz/</a> to register with your mobile phone number.</p>
<h2 id="v2ray-software-installation"><a href="#v2ray-software-installation" class="headerlink" title="v2ray software installation"></a>v2ray software installation</h2><p>This article contains software installation methods for <a href="#Win10">Win10</a>, <a href="#Android">Android</a>, <a href="#Ios">IOS/Ipad OS</a>, please install according to the corresponding process.</p>
<h3 id="Win10-1"><a href="#Win10-1" class="headerlink" title="Win10"></a>Win10</h3><p><strong>download</strong></p>
<ul>
<li>Use a browser to visit <a href="https://onedrive.yimian.xyz/packages/programs/all/v2ray/Windows_v2rayN-Core.zip" target="_blank" rel="noopener">http://eee.dog/8bcc14</a> and download the name <code>Windows_v2rayN-Core.zip</code>The compressed file.</li>
</ul>
<p><strong>Unzip</strong></p>
<ul>
<li><p>Decompress the downloaded compressed file to the root directory of drive C, as shown below</p>
<blockquote>
<p>If you are prompted to require <strong>administrative permissions</strong>, please select all <strong>yes</strong></p>
</blockquote>
<p><img src="https://api.yimian.xyz/img/?path=imgbed/img_2eb9b63_1565x429_8_null_normal.jpeg" alt="Extracted file image"></p>
</li>
</ul>
<p><strong>Configuration</strong></p>
<ul>
<li><p>Please open the folder just unzipped in the C drive, find the program named <code>V2ray</code> or <code>V2rayN.exe</code>, and double-click to open it. As shown below.<br><img src="https://api.yimian.xyz/img/?path=imgbed/img_430e95a_1557x460_8_null_normal.jpeg" alt="V2rayN picture"></p>
</li>
<li><p>Find the taskbar in the lower right corner, find the icon in the figure below, double-click to open<br><img src="https://api.yimian.xyz/img/?path=imgbed/img_3a35a1f_928x246_8_null_normal.jpeg" alt="V2rayN icon"></p>
</li>
<li><p>Select <strong>Subscription</strong> at the top of the window, and click <strong>Subscription Settings</strong> as shown below<br><img src="https://api.yimian.xyz/img/?path=imgbed/img_4574629_1421x180_8_null_normal.jpeg" alt="Subscription Settings"></p>
</li>
<li><p>Open <a href="https://v2ray.yimian.xyz/" target="_blank" rel="noopener">https://v2ray.yimian.xyz</a> and log in. After the QR code appears, click <strong>Copy</strong>. As shown below<br><img src="https://api.yimian.xyz/img/?path=imgbed/img_6d86c79_1254x711_8_null_normal.jpeg" alt="Get subscription address"></p>
</li>
<li><p>Go back to the subscription settings window, paste the content you just copied into the <strong>Address URL box</strong>, check <strong>Enable</strong>, and click <strong>OK</strong>. As shown below<br><img src="https://api.yimian.xyz/img/?path=imgbed/img_50dc56e_867x752_8_null_normal.jpeg" alt="Set subscription address"></p>
</li>
<li><p>Click <strong>Parameter Settings</strong> at the top of the main window as shown below</p>
</li>
</ul>
<p><img src="https://api.yimian.xyz/img/?path=imgbed/img_6a56090_1313x195_8_null_normal.jpeg" alt="Parameter settings"></p>
<ul>
<li>Select <strong>V2rayN Settings</strong>, tick <strong>Autostart at boot</strong>, and click <strong>OK</strong> below. As shown below</li>
</ul>
<p><img src="https://api.yimian.xyz/img/?path=imgbed/img_0b74331_993x1020_8_null_normal.jpeg" alt="Start on boot"></p>
<ul>
<li>Back to the main window, click <strong>Update Subscription</strong> as shown below</li>
</ul>
<p><img src="https://api.yimian.xyz/img/?path=imgbed/img_396bcc7_1037x174_8_null_normal.jpeg" alt="Update Subscription"></p>
<ul>
<li><p>At this time, there will be one or more servers in the main window, as shown below</p>
<p><img src="https://api.yimian.xyz/img/?path=imgbed/img_4419a90_1196x216_8_null_normal.jpeg" alt="Server list"></p>
</li>
<li><p>Close the main window, right-click V2ray in the status bar at the bottom right corner, and select <strong>Server</strong>-&gt;<strong>Vmess-Los_Angeles(….</strong>. As shown below<br><img src="https://api.yimian.xyz/img/?path=imgbed/img_0266a2f_1067x288_8_null_normal.jpeg" alt="Select Server"></p>
</li>
<li><p>Right-click V2ray in the status bar at the bottom right corner, and select <strong>Http Proxy</strong>-&gt;<strong>…(PAC Mode)</strong>. As shown below<br><img src="https://api.yimian.xyz/img/?path=imgbed/img_8c3a651_1088x306_8_null_normal.jpeg" alt="PAC Mode"></p>
</li>
</ul>
<p><strong>verification</strong></p>
<ul>
<li>Open <a href="https://www.google.com" target="_blank" rel="noopener">https://google.com</a> in your browser to check if you can access it.</li>
</ul>
<h3 id="Android-1"><a href="#Android-1" class="headerlink" title="Android"></a>Android</h3><p><strong>Download and install software</strong></p>
<ul>
<li>Open the browser <a href="https://onedrive.yimian.xyz/packages/programs/all/v2ray/Android_v2rayNG_1.3.1.apk" target="_blank" rel="noopener">http://eee.dog/6db2e3</a> to download the V2ray Android installation package</li>
<li>Click to open the installation package to install</li>
</ul>
<p><strong>Configuration</strong></p>
<ul>
<li>Use your mobile browser to open <a href="https://v2ray.yimian.xyz/" target="_blank" rel="noopener">https://v2ray.yimian.xyz/</a> and log in</li>
<li>When the QR code is displayed on the page, click <strong>Copy</strong></li>
<li>Open the installed V2rayNG software, click the three bars in the upper left corner, expand the left column, and click <strong>Subscription Settings</strong></li>
<li>After entering the subscription settings page, click the <strong>plus sign</strong> in the upper right corner</li>
<li>Fill in <strong>ushio</strong> in the remarks, fill in the things you just copied in the address url, and click the tick in the upper right corner.</li>
<li>Back to the main page, click the three bars in the upper left corner, expand the left column, and click <strong>Settings</strong></li>
<li>After entering the settings page, click <strong>Sub App Proxy</strong></li>
<li>Check the <strong>Sub App Proxy</strong> mode, and then check the apps that need to access the Internet, such as twitter, youtube, etc.</li>
<li>Back to the main page, click the three dots in the upper right corner, and click <strong>Update Subscription</strong></li>
<li>Tap <strong>Los_Angeles</strong> in the main page list to make the left side green</li>
<li>Click the V icon in the lower right corner of the main page to make it green</li>
</ul>
<p><strong>verification</strong></p>
<ul>
<li>Click <strong>Connected at the bottom of the main page, click the test connection</strong> statement to check whether the connection is successful</li>
</ul>
<h3 id="Ios-1"><a href="#Ios-1" class="headerlink" title="Ios"></a>Ios</h3><ul>
<li>Change the Apple account area in the system settings to a place outside of mainland China, such as the United Kingdom, the United States, etc.</li>
<li>Purchase and install Shadowrocket software in the app store</li>
<li>Use a browser to open <a href="https://v2ray.yimian.xyz/" target="_blank" rel="noopener">https://v2ray.yimian.xyz</a> and log in</li>
<li>When the QR code is displayed on the page, click <strong>Copy</strong></li>
<li>Open the Shadowrocket software</li>
<li>Click the plus sign in the upper right corner</li>
<li>Type selection <strong>Subscribe</strong></li>
<li>Paste what you just copied in the URL</li>
<li>Click on the upper right corner to finish</li>
<li>Click api.yimian.xyz on the homepage, click <strong>Los_Angeles</strong></li>
<li>On the first line of the homepage, check <strong>Los_Angeles</strong></li>
<li>Use a browser to visit <a href="https://www.google.com" target="_blank" rel="noopener">https://google.com</a> to try</li>
</ul>
</span>
</div>
<div class="post-copyright">
<p class="copyright-item">
<span>Author: </span>
<a href="https://iotcat.me/" target="_blank" rel="noopener">IoTcat</a>
</p>
<p class="copyright-item">
<span>Link: </span>
<a href="https://www.eee.dog/tech/v2ray-instruction.html">https://www.eee.dog/tech/v2ray-instruction.html</a>
</p>
<p class="copyright-item">
<span>License: </span><a rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/" target="_blank">知识共享署名-非商业性使用 4.0 国际许可协议</a>
</p>
</div>
<footer class="post-footer">
<div class="post-tags">
<a href="/tags/v2ray/">v2ray</a>
<a href="/tags/instruction/">instruction</a>
</div>
<nav class="post-nav"><a class="prev" href="/tech/acg-watch.html">
<i class="iconfont icon-left"></i>
<span class="prev-text nav-default"><span class=".zh">acg.watch-我的私人视频网站</span><span class=".en">acg.watch - My Personal video Site</span></span>
<span class="prev-text nav-mobile">Prev</span>
</a>
<a class="next" href="/tech/wiot2.html">
<span class="next-text nav-default"><span class=".zh">wIoT发展展望</span><span class=".en">wIoT - What is the future</span></span>
<span class="prev-text nav-mobile">Next</span>
<i class="iconfont icon-right"></i>
</a>
</nav></footer>
</article><script>$(()=>{var p = window.location.pathname;setTimeout(()=>{if(window.location.pathname == p)tips.show({
title: 'tips',
position: 'topRight',
message: ((page.tran.getLang() == 'zh')?"此文章预计阅读 6 分钟哦~": "Read this page will spend around 13 minutes~")
})}, 6000)})</script>
</div><div class="comments" id="comments"><div id="vcomments"></div>
</div></div>
</main>
<footer id="footer" class="footer">
<script>
page_obj = {
layout: "post",
comments: "true"
};
</script><div class="social-links"><a href="mailto:i@iotcat.me" class="iconfont icon-email" title="email"></a>
<a href="https://github.com/iotcat" target="_blank" rel="noopener" class="iconfont icon-github" title="github"></a>
<a href="/atom.xml" class="iconfont icon-rss" title="rss"></a>
</div><div class="copyright"><span id="/tech/v2ray-instruction.html" class="statistic leancloud_visitors">
<em>Visitors </em> <i class="leancloud-visitors-count">??</i>
<span class="division"> |</span>
<em>Reading </em> 13 min
</span>
<br>
<span class="power-by">
Powered by <a class="hexo-link" href="https://ushio.yimian.xyz/" target="_blank" rel="noopener">Ushio</a>
</span>
<span class="division">|</span>
<span class="theme-info">
Theme -
<a class="theme-link" href="https://github.com/iotcat/kayo" target="_blank" rel="noopener">Kayo</a>
</span>
<span class="copyright-year">&copy;2018 - 2021<span class="heart shaky">
<i class="iconfont icon-heart"></i>
</span>
<span class="author"><a href="https://iotcat.me/" target="_blank" rel="noopener">IoTcat</a></span>
</span>
</div>
</footer>
<div class="back-to-top" id="back-to-top">
<i class="iconfont icon-up"></i>
</div>
</div>
<script src="https://cdn.yimian.xyz/kayo/lib/valine/valine.min.js" data-pjax></script>
<style>
/* 背景图片 */
#veditor {
background-image: url(https://cdn.yimian.xyz/img/blog/comments_bg.webp);
background-size: contain;
background-repeat: no-repeat;
background-position: right;
background-color: rgba(255, 255, 255, 0);
resize: vertical
}
/* 头像旋转 */
img.vimg {
transition: all 1s /* 旋转时间为 1s */
}
img.vimg:hover {
transform: rotate(360deg);
-webkit-transform: rotate(360deg);
-moz-transform: rotate(360deg);
-o-transform: rotate(360deg);
-ms-transform: rotate(360deg);
}
/* 盒子模式 */
#vcomments .vcards .vcard {
padding: 15px 20px 0 20px;
border-radius: 10px;
margin-bottom: 15px;
box-shadow: 0 0 4px 1px rgba(0, 0, 0, .12);
transition: all .3s
}
#vcomments .vcards .vcard:hover {
box-shadow: 0 0 8px 3px rgba(0, 0, 0, .12)
}
#vcomments .vcards .vcard .vh .vcard {
border: none;
box-shadow: none;
}
</style>
<script>
pjax_valine = () => {
$.get('https://auth.yimian.xyz/getEmailHash.php', function(res){
if(page.tran.getLang() == 'zh'){
var lan = 'zh-CN';
var metaPlaceholder = {"nick":"昵称/QQ号","mail":"邮箱(完全保密)"};
var tagMeta = ["博主","小伙伴","访客"];
var placeholder = "填写邮箱可以及时收到回复哦(●'◡'●)";
}else{
var lan = 'en';
var metaPlaceholder = {"nick":"Nickname/QQ","mail":"EMail"};
var tagMeta = ["Master","Friend","Visitor"];
var placeholder = "Leave some comments here (●'◡'●)";
}
new Valine({
el: '#vcomments',
appId: 'eVzpK7EyT6OafJvXWIRminWT-gzGzoHsz',
appKey: '2qjuEBgVE0BscTQnTmoS9roU',
master: '9b616ff4cd6c305e5970bee7b1bd9b1f', //博主邮箱md5
tagMeta: tagMeta, //标识字段名
friends: res, //["b6ddef7c7e1c647e7767afeacdfb7b64","46dd4e6fef4f9591736c4723a965ca2e","6132d77f9f0ae060bc733090991acecb","3e00e104b79d7c6e866c6b23c6ba6dfc"], //小伙伴邮箱Md5
metaPlaceholder: metaPlaceholder,
placeholder: placeholder,
lang: lan,
path: window.location.pathname,
enableQQ: true,
visitor: true,
emojiCDN: '//i0.hdslb.com/bfs/emote/',
emojiMaps: {
"tv_doge": "6ea59c827c414b4a2955fe79e0f6fd3dcd515e24.png",
"tv_亲亲": "a8111ad55953ef5e3be3327ef94eb4a39d535d06.png",
"tv_偷笑": "bb690d4107620f1c15cff29509db529a73aee261.png",
"tv_再见": "180129b8ea851044ce71caf55cc8ce44bd4a4fc8.png",
"tv_冷漠": "b9cbc755c2b3ee43be07ca13de84e5b699a3f101.png",
"tv_发怒": "34ba3cd204d5b05fec70ce08fa9fa0dd612409ff.png",
"tv_发财": "34db290afd2963723c6eb3c4560667db7253a21a.png",
"tv_可爱": "9e55fd9b500ac4b96613539f1ce2f9499e314ed9.png",
"tv_吐血": "09dd16a7aa59b77baa1155d47484409624470c77.png",
"tv_呆": "fe1179ebaa191569b0d31cecafe7a2cd1c951c9d.png",
"tv_呕吐": "9f996894a39e282ccf5e66856af49483f81870f3.png",
"tv_困": "241ee304e44c0af029adceb294399391e4737ef2.png",
"tv_坏笑": "1f0b87f731a671079842116e0991c91c2c88645a.png",
"tv_大佬": "093c1e2c490161aca397afc45573c877cdead616.png",
"tv_大哭": "23269aeb35f99daee28dda129676f6e9ea87934f.png",
"tv_委屈": "d04dba7b5465779e9755d2ab6f0a897b9b33bb77.png",
"tv_害羞": "a37683fb5642fa3ddfc7f4e5525fd13e42a2bdb1.png",
"tv_尴尬": "7cfa62dafc59798a3d3fb262d421eeeff166cfa4.png",
"tv_微笑": "70dc5c7b56f93eb61bddba11e28fb1d18fddcd4c.png",
"tv_思考": "90cf159733e558137ed20aa04d09964436f618a1.png",
"tv_惊吓": "0d15c7e2ee58e935adc6a7193ee042388adc22af.png",
"tv_打脸": "56ab10b624063e966bfcb76ea5dc4794d87dfd47.png",
"tv_抓狂": "fe31c08edad661d63762b04e17b8d5ae3c71a757.png",
"tv_抠鼻": "c666f55e88d471e51bbd9fab9bb308110824a6eb.png",
"tv_斜眼笑": "911f987aa8bc1bee12d52aafe62bc41ef4474e6c.png",
"tv_无奈": "ea8ed89ee9878f2fece2dda0ea8a5dbfe21b5751.png",
"tv_晕": "5443c22b4d07fb1907ccc610c8e6db254f2461b7.png",
"tv_流汗": "cead1c351ab8d79e9f369605beb90148db0fbed3.png",
"tv_流泪": "7e71cde7858f0cd50d74b0264aa26db612a8a167.png",
"tv_流鼻血": "c32d39db2737f89b904ca32700d140a9241b0767.png",
"tv_点赞": "f85c354995bd99e28fc76c869bfe42ba6438eff4.png",
"tv_生气": "26702dcafdab5e8225b43ffd23c94ac1ff932654.png",
"tv_生病": "8b0ec90e6b86771092a498c54f09fc94621c1900.png",
"tv_疑问": "0793d949b18d7be716078349c202c15ff166f314.png",
"tv_白眼": "c1d59f439e379ee50eef488bcb5e5378e5044ea4.png",
"tv_皱眉": "72ccad6679fea0d14cce648b4d818e09b8ffea2d.png",
"tv_目瞪口呆": "0b8cb81a68de5d5365212c99375e7ace3e7891b7.png",
"tv_睡着": "8b196675b53af58264f383c50ad0945048290b33.png",
"tv_笑哭": "1abc628f6d4f4caf9d0e7800878f4697abbc8273.png",
"tv_腼腆": "89712c0d4af73e67f89e35cbc518420380a7f6f4.png",
"tv_色": "61822c7e9aae5da76475e7892534545336b23a6f.png",
"tv_调侃": "4bc022533ef31544ca0d72c12c808cf4a1cce3e3.png",
"tv_调皮": "b9c41de8e82dd7a8515ae5e3cb63e898bf245186.png",
"tv_鄙视": "6e72339f346a692a495b123174b49e4e8e781303.png",
"tv_闭嘴": "c9e990da7f6e93975e25fd8b70e2e290aa4086ef.png",
"tv_难过": "87f46748d3f142ebc6586ff58860d0e2fc8263ba.png",
"tv_馋": "fc7e829b845c43c623c8b490ee3602b7f0e76a31.png",
"tv_鬼脸": "0ffbbddf8a94d124ca2f54b360bbc04feb6bbfea.png",
"tv_黑人问号": "45821a01f51bc867da9edbaa2e070410819a95b2.png",
"tv_鼓掌": "1d21793f96ef4e6f48b23e53e3b9e42da833a0f6.png"
// ... 更多表情
}
});
});
};
</script><script type="text/javascript" src="https://cdn.yimian.xyz/ushio-js/ushio-footer.min.js"></script>
<script>
session.onload(function(){
if(session.get('group') != 'anonymous'){
function insertNick(){
if($('.vnick').length){
$('.vnick').val(session.get('nickname'));
}else{
setTimeout(insertNick, 500);
}
}
function insertMail(){
if($('.vmail').length){
$('.vmail').val(session.get('email'));
}else{
setTimeout(insertMail, 500);
}
}
if(session.get('nickname')){
insertNick();
}
if(session.get('email')){
insertMail();
}
}
});
</script>
<script type="text/javascript" src="https://cdn.yimian.xyz/kayo/lib/slideout/slideout.js"></script>
<script type="text/javascript" src="https://cdn.yimian.xyz/kayo/lib/fancybox/jquery.fancybox.pack.js"></script>
<script type="text/javascript" src="https://cdn.yimian.xyz/kayo/lib/iziToast/iziToast.min.js"></script>
<script type="text/javascript" src="https://cdn.yimian.xyz/kayo/lib/iziModal/iziModal.min.js"></script>
<script type="text/javascript" src="https://cdn.yimian.xyz/kayo/lib/mermaid/mermaid.min.js"></script>
<script type="text/javascript" src="https://cdn.yimian.xyz/kayo/js/src/kayo.js?v=1.0.0" data-pjax></script>
<script type="text/javascript" src="https://cdn.yimian.xyz/kayo/js/src/kayo-no-pjax.js?v=1.0.0"></script>
<script src="https://cdn.yimian.xyz/kayo/lib/pjax/pjax.min.js"></script>
<script>window.pjax = new Pjax({
elements: 'a[href]:not([href^="#"]):not([href="javascript:void(0)"])',
selectors: ["head title, #main", "#footer"],
});/* lazyload */
window.imageLazyLoadSetting = {
isSPA: false,
processImages: null,
};
window.addEventListener("load",function(){var t=/\.(gif|jpg|jpeg|tiff|png)$/i,r=/^data:image\/[a-z]+;base64,/;Array.prototype.slice.call(document.querySelectorAll("img[data-original]")).forEach(function(a){var e=a.parentNode;"A"===e.tagName&&(e.href.match(t)||e.href.match(r))&&(e.href=a.dataset.original)})});
/* 第一次载入页面加载的函数 */
pjax_ini = () => {
/* 关闭侧边栏 */
window.slideout.close();
if(page_obj.comments == "true"){pjax_valine();}pjax_google_analytics();mermaid.init(undefined, $(".mermaid"));/* lazy load */
!function(n){n.imageLazyLoadSetting.processImages=o;var i=n.imageLazyLoadSetting.isSPA,r=Array.prototype.slice.call(document.querySelectorAll("img[data-original]"));function o(){i&&(r=Array.prototype.slice.call(document.querySelectorAll("img[data-original]")));for(var t,e,a=0;a<r.length;a++)t=r[a],e=void 0,0<=(e=t.getBoundingClientRect()).bottom&&0<=e.left&&e.top<=(n.innerHeight||document.documentElement.clientHeight)&&function(){var t,e,n,i,o=r[a];t=o,e=function(){r=r.filter(function(t){return o!==t})},n=new Image,i=t.getAttribute("data-original"),n.onload=function(){t.src=i,e&&e()},n.src=i}()}o(),n.addEventListener("scroll",function(){var t,e;t=o,e=n,clearTimeout(t.tId),t.tId=setTimeout(function(){t.call(e)},500)})}(this);
!function(){var t=/\.(gif|jpg|jpeg|tiff|png)$/i,r=/^data:image\/[a-z]+;base64,/;Array.prototype.slice.call(document.querySelectorAll("img[data-original]")).forEach(function(a){var e=a.parentNode;"A"===e.tagName&&(e.href.match(t)||e.href.match(r))&&(e.href=a.dataset.original)})}();
};
/* 第一次 执行 */
pjax_ini();var loadingBar = document.querySelector(".loading-bar");
var progress = document.querySelector(".loading-bar .progress");
var timer = null;
// Pjax 开始时执行的函数
var loadingbarStart = function () {
// 进度条默认已经加载 20%
var loadingBarWidth = 20;
// 进度条的最大增加宽度
var MAX_LOADING_WIDTH = 95;
// 显示进度条
loadingBar.classList.add("loading");
// 初始化进度条的宽度
progress.style.width = loadingBarWidth + "%";
clearInterval(timer);
timer = setInterval(function () {
// 进度条的增加速度(可以改为一个随机值,显得更加真实)
loadingBarWidth += 3;
// 当进度条到达 95% 后停止增加
if (loadingBarWidth > MAX_LOADING_WIDTH) {
loadingBarWidth = MAX_LOADING_WIDTH;
}
progress.style.width = loadingBarWidth + "%";
}, 500);
};
// Pjax 完成之后执行的函数
var loadingbarStop = function () {
clearInterval(timer);
progress.style.width = "100%";
loadingBar.classList.remove("loading");
setTimeout(function () {
progress.style.width = 0;
}, 400);
};/* Pjax 开始时,重新加载的函数 */
document.addEventListener("pjax:send", function () {loadingbarStart();
});
/* Pjax 完成后,重新加载的函数 */
document.addEventListener("pjax:complete", function () {
/* 重载带data-pjax的script,或者.pjax-reload属性内容的script */
$("script[data-pjax], .pjax-reload script").each(function () {
$(this).parent().append($(this).remove());
});
pjax_ini();loadingbarStop();
page.tran.setLang();
});
/* Pjax 出错,执行的函数 */
document.addEventListener("pjax:error", function () {
});</script>
</body>
</html>