<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>MC探索者i的博客</title>
  
  
  <link href="https://blog.mcseekeri.top/atom.xml" rel="self"/>
  
  <link href="https://blog.mcseekeri.top/"/>
  <updated>2022-12-20T03:12:32.437Z</updated>
  <id>https://blog.mcseekeri.top/</id>
  
  <author>
    <name>MCSeekeri</name>
    
  </author>
  
  <generator uri="https://hexo.io/">Hexo</generator>
  
  <entry>
    <title>MC的网上冲浪指南 - 浏览器篇</title>
    <link href="https://blog.mcseekeri.top/archives/MCWebTips1/"/>
    <id>https://blog.mcseekeri.top/archives/MCWebTips1/</id>
    <published>2022-04-05T11:00:00.000Z</published>
    <updated>2022-12-20T03:12:32.437Z</updated>
    
    <content type="html"><![CDATA[<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/hint.css/2.4.1/hint.min.css"><h2 id="前言"><a href="#前言" class="headerlink" title="前言"></a>前言</h2><p>从很久以前，我就经常会被别人求助解决计算机问题。一般都没什么难度，都是些诸如”大佬能不能帮我升级下系统”之类的入门级问题，但是帮别人解决这类重复问题让我有种挫败感，我为啥就不能扔一篇文章过去非得自己动脑子呢……？<br>而且折腾电脑这么久，一些杂七杂八的小经验我也积累了不少。看着空荡荡的博客页面，我决定系统性的写写我的小经验。</p><div class="note info"><p>这里的各种知识都很浅显，大佬请轻喷……</p></div><h2 id="折腾浏览器的必要性"><a href="#折腾浏览器的必要性" class="headerlink" title="折腾浏览器的必要性"></a>折腾浏览器的必要性</h2><p>说到网上冲浪，一个浏览器是必须的，浏览器的能力直接决定了上网的体验，连广告拦截都没有的屑浏览器是没有使用的必要的（暴论<br>优秀的浏览器还有很多增强功能，诸如隐私保护，购物比价，下载 B 站视频之类。<br>你可以高度定制你的浏览器，使其符合你的需求，而且难度不算很大…</p><h2 id="太长不看"><a href="#太长不看" class="headerlink" title="太长不看"></a>太长不看</h2><p>电脑 <a href="https://www.mozilla.org/zh-CN/firefox/new/">Firefox</a> 或 <a href="https://www.microsoft.com/zh-cn/edge">Edge</a><br>手机 <a href="https://www.coolapk.com/apk/mark.via">Via</a> 或 Edge</p><h2 id="选择一个浏览器"><a href="#选择一个浏览器" class="headerlink" title="选择一个浏览器"></a>选择一个浏览器</h2><p>就目前的情况来看，浏览器界大致可分为三大阵营：</p><ul><li>以 <ruby>Firefox<rp>(</rp><rt>火狐</rt><rp>)</rp></ruby> 为代表的 Gecko 系</li><li>以 Chrome 和 Edge 为代表的 <ruby>Chromium<rp>(</rp><rt>铬</rt><rp>)</rp></ruby> 系</li><li>以 Safari 和 IE 为代表的前端噩梦系（跑</li></ul><h3 id="阵营简介"><a href="#阵营简介" class="headerlink" title="阵营简介"></a>阵营简介</h3><h4 id="Gecko"><a href="#Gecko" class="headerlink" title="Gecko"></a>Gecko</h4><div galleryFlag itemscope itemtype="http://schema.org/ImageGallery" class="gallery stretch" col='1' data-group='default'><div class='fancybox'><a class='fancybox' itemscope itemtype="http://schema.org/ImageObject" itemprop="url" href='https://unpkg.com/mcseekeri@1.3.3/post/MCWebTips1/Firefox.webp' data-fancybox='default' data-caption='我曾经的最爱，现在也用作备用/整活浏览器'><img fancybox itemprop="contentUrl" src="https://unpkg.com/mcseekeri@1.3.3/post/MCWebTips1/Firefox.webp" class="lazyload" data-srcset="https://unpkg.com/mcseekeri@1.3.3/post/MCWebTips1/Firefox.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="我曾经的最爱，现在也用作备用/整活浏览器"></a><span class='image-caption'>我曾经的最爱，现在也用作备用/整活浏览器</span></div></div><p>Gecko 系中最有名的浏览器就是火狐了，它是目前唯一一个<strong>完全开源</strong>的浏览器。与其他浏览器不同的是，它由非营利组织 Mozilla 开发，所以不会和商业公司的产品一样为了利益故意恶心用户……<br>一般来讲，非营利组织开发的软件都不会有后门，如果你对自己的隐私比较看中，火狐绝对是不二之选。<br>火狐还有一个显著的优势：性能要求不高。如果你的电脑是个打 CS1.6 都吃力的弱鸡上网本……用 Chromium 系浏览器可能会让你的上网体验十分痛苦，火狐就没这个问题。</p><div class="tag link"><a class="link-card" title="下载 Firefox 浏览器" href="https://www.mozilla.org/zh-CN/firefox/new/"><div class="left"><img src="https://www.mozilla.org/media/img/favicons/firefox/browser/favicon-196x196.59e3822720be.png" class="lazyload" data-srcset="https://www.mozilla.org/media/img/favicons/firefox/browser/favicon-196x196.59e3822720be.png" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="/></div><div class="right"><p class="text">下载 Firefox 浏览器</p><p class="url">https://www.mozilla.org/zh-CN/firefox/new/</p></div></a></div><div class='checkbox plus green checked'><input type="checkbox" checked="checked"/>            <p>对低端设备友好</p>            </div><div class='checkbox plus green checked'><input type="checkbox" checked="checked"/>            <p>简单易用</p>            </div><div class='checkbox plus green checked'><input type="checkbox" checked="checked"/>            <p>有同步功能</p>            </div><div class='checkbox minus red checked'><input type="checkbox" checked="checked"/>            <p>极少数网站可能会出现兼容性问题</p>            </div><div class="note warning"><p>火狐有一个由”北京谋智火狐信息技术有限公司”开发的版本，与国际版基本一致，但鉴于我本人对国产软件的不信任，不推荐使用</p></div><h4 id="Chromium"><a href="#Chromium" class="headerlink" title="Chromium"></a>Chromium</h4><p>你可能对这个名字不大熟悉，但是你绝对用过它。市面上几乎所有的浏览器 (360、腾讯、UC、百度、夸克) 都采用了 Chromium 内核，也就是说大家显示网页其实都差不多，区别就在功能和界面上。</p><p class='p gray'>我不推荐所有的国产浏览器，原因见下。</p><details cyan><summary> 聊聊为什么不推荐国产软件 </summary>              <div class='content'>              <p>其实原因很简单，我对一个软件判断优劣的标准从来都不会是由哪个国家的开发者开发。只是绝大多数国产软件都是由<strong>商业公司</strong>开发的<strong>闭源软件</strong>，一旦他们打算在程序里塞点雪没人能阻止他们。<br>而国外的商业公司虽然也很烂，但是他们会发布一些<strong>开源软件</strong>，开源与闭源的区别请自行搜索，简单来讲就是任何人都可以查看和改进这个程序，这样用户被逼着食雪的概率会小很多。</p><p>当然，国产的优秀开源桌面软件也有，我会在之后的文章中提及。</p>              </div>            </details><p>最早搭载 Chromium 内核的浏览器是谷歌自己研发的 <ruby>Chrome<rp>(</rp><rt>酷容</rt><rp>)</rp></ruby>，但是因为谷歌服务在国内<strong>不可用</strong>，所以我个人更推荐微软开发的 Edge 浏览器。</p><div galleryFlag itemscope itemtype="http://schema.org/ImageGallery" class="gallery stretch" col='1' data-group='default'><div class='fancybox'><a class='fancybox' itemscope itemtype="http://schema.org/ImageObject" itemprop="url" href='https://unpkg.com/mcseekeri@1.3.3/post/MCWebTips1/Edge.webp' data-fancybox='default' data-caption='是 Edge 呢'><img fancybox itemprop="contentUrl" src="https://unpkg.com/mcseekeri@1.3.3/post/MCWebTips1/Edge.webp" class="lazyload" data-srcset="https://unpkg.com/mcseekeri@1.3.3/post/MCWebTips1/Edge.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="是 Edge 呢"></a><span class='image-caption'>是 Edge 呢</span></div></div><div class="tag link"><a class="link-card" title="下载 Edge 浏览器" href="https://www.microsoft.com/zh-cn/edge"><div class="left"><img src="https://www.microsoft.com/favicon.ico" class="lazyload" data-srcset="https://www.microsoft.com/favicon.ico" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="/></div><div class="right"><p class="text">下载 Edge 浏览器</p><p class="url">https://www.microsoft.com/zh-cn/edge</p></div></a></div><p>如果你使用的是 Windows 10 以上操作系统，Edge 已经安装在你的系统里了，而且默认浏览器就是它 (除非被国产毒瘤软件给改了……)</p><div class='checkbox plus green checked'><input type="checkbox" checked="checked"/>            <p>对网页的兼容性好</p>            </div><div class='checkbox plus green checked'><input type="checkbox" checked="checked"/>            <p>简单易用</p>            </div><div class='checkbox plus green checked'><input type="checkbox" checked="checked"/>            <p>有同步功能</p>            </div><div class='checkbox minus red checked'><input type="checkbox" checked="checked"/>            <p>比较吃内存</p>            </div><div class='checkbox minus red checked'><input type="checkbox" checked="checked"/>            <p>包含少量首页广告</p>            </div><div class="note info"><p>其实除了 Edge，有个叫 CentBrowser 的国内改版也不错，但他们从 2021 年年初就停止更新了，因此不推荐。</p></div><h4 id="前端噩梦"><a href="#前端噩梦" class="headerlink" title="前端噩梦"></a>前端噩梦</h4><p>Safari 和 IE 我极度不推荐。<br>前者是苹果系统的自带浏览器，后者是 Windows 早期版本的自带浏览器。这俩被叫做前端噩梦不是没有原因的……<br>Safari 在设计上保留了苹果一贯的高水准，滑动体验以及与 macOS 的结合都秒杀其他浏览器。但是这货对新技术的支持很让人恼火……不管业界整出来什么新东西，Safari 总是最后跟进的那个。<br>IE 我不想解释，谁爱用谁用，反正我不用。</p><h3 id="内存占用对比"><a href="#内存占用对比" class="headerlink" title="内存占用对比"></a>内存占用对比</h3><p>为了展示火狐和 Edge 的性能差距，我专门开了一大堆标签页然后看内存占用。<br>两者都是最新版，隐私模式，不启用任何插件。</p><div galleryFlag itemscope itemtype="http://schema.org/ImageGallery" class="gallery stretch" col='1' data-group='default'><div class='fancybox'><a class='fancybox' itemscope itemtype="http://schema.org/ImageObject" itemprop="url" href='https://unpkg.com/mcseekeri@1.3.3/post/MCWebTips1/Firefox-vs-Edge.webp' data-fancybox='default' data-caption='Edge 内存优化的其实挺不错了'><img fancybox itemprop="contentUrl" src="https://unpkg.com/mcseekeri@1.3.3/post/MCWebTips1/Firefox-vs-Edge.webp" class="lazyload" data-srcset="https://unpkg.com/mcseekeri@1.3.3/post/MCWebTips1/Firefox-vs-Edge.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="Edge 内存优化的其实挺不错了"></a><span class='image-caption'>Edge 内存优化的其实挺不错了</span></div><br><div class='fancybox'><a class='fancybox' itemscope itemtype="http://schema.org/ImageObject" itemprop="url" href='https://unpkg.com/mcseekeri@1.3.3/post/MCWebTips1/Firefox-vs-Edge2.webp' data-fancybox='default' data-caption='页面完全一致，顺带一提，火狐狸默认的字体不错'><img fancybox itemprop="contentUrl" src="https://unpkg.com/mcseekeri@1.3.3/post/MCWebTips1/Firefox-vs-Edge2.webp" class="lazyload" data-srcset="https://unpkg.com/mcseekeri@1.3.3/post/MCWebTips1/Firefox-vs-Edge2.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="页面完全一致，顺带一提，火狐狸默认的字体不错"></a><span class='image-caption'>页面完全一致，顺带一提，火狐狸默认的字体不错</span></div></div><h2 id="使用扩展"><a href="#使用扩展" class="headerlink" title="使用扩展"></a>使用扩展</h2><p>现在你应该安装了你的新浏览器并且简单用了用，所以我们进入下一个部分：浏览器扩展。<br>大多数有名的扩展都同时支持 Gecko 系和 Chromium 系，所以你不用担心兼容性问题。</p><h3 id="扩展的安装方法"><a href="#扩展的安装方法" class="headerlink" title="扩展的安装方法"></a>扩展的安装方法</h3><h4 id="Gecko-1"><a href="#Gecko-1" class="headerlink" title="Gecko"></a>Gecko</h4><p>对于火狐浏览器来讲，下载扩展的步骤为点击右上角汉堡菜单里的”扩展和主题”，滚到页面底部点击”寻找更多附加组件”，之后会打开火狐自家的扩展页面。</p><div galleryFlag itemscope itemtype="http://schema.org/ImageGallery" class="gallery stretch" col='1' data-group='default'><div class='fancybox'><a class='fancybox' itemscope itemtype="http://schema.org/ImageObject" itemprop="url" href='https://unpkg.com/mcseekeri@1.3.3/post/MCWebTips1/Firefox-Menu.webp' data-fancybox='default' data-caption='undefined'><img fancybox itemprop="contentUrl" src="https://unpkg.com/mcseekeri@1.3.3/post/MCWebTips1/Firefox-Menu.webp" class="lazyload" data-srcset="https://unpkg.com/mcseekeri@1.3.3/post/MCWebTips1/Firefox-Menu.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="></a><span></span></div><br><div class='fancybox'><a class='fancybox' itemscope itemtype="http://schema.org/ImageObject" itemprop="url" href='https://unpkg.com/mcseekeri@1.3.3/post/MCWebTips1/Firefox-Addons.webp' data-fancybox='default' data-caption='undefined'><img fancybox itemprop="contentUrl" src="https://unpkg.com/mcseekeri@1.3.3/post/MCWebTips1/Firefox-Addons.webp" class="lazyload" data-srcset="https://unpkg.com/mcseekeri@1.3.3/post/MCWebTips1/Firefox-Addons.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="></a><span></span></div><br><div class='fancybox'><a class='fancybox' itemscope itemtype="http://schema.org/ImageObject" itemprop="url" href='https://unpkg.com/mcseekeri@1.3.3/post/MCWebTips1/Firefox-Addons-Install.webp' data-fancybox='default' data-caption='undefined'><img fancybox itemprop="contentUrl" src="https://unpkg.com/mcseekeri@1.3.3/post/MCWebTips1/Firefox-Addons-Install.webp" class="lazyload" data-srcset="https://unpkg.com/mcseekeri@1.3.3/post/MCWebTips1/Firefox-Addons-Install.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="></a><span></span></div></div><h4 id="Chromium-1"><a href="#Chromium-1" class="headerlink" title="Chromium"></a>Chromium</h4><p>对于 Edge 浏览器，请点击此处的”管理扩展”，点击左侧的”获取 Microsoft Edge 扩展。</p><div galleryFlag itemscope itemtype="http://schema.org/ImageGallery" class="gallery stretch" col='1' data-group='default'><div class='fancybox'><a class='fancybox' itemscope itemtype="http://schema.org/ImageObject" itemprop="url" href='https://unpkg.com/mcseekeri@1.3.3/post/MCWebTips1/Edge-Menu.webp' data-fancybox='default' data-caption='嗯……嘛……啊……'><img fancybox itemprop="contentUrl" src="https://unpkg.com/mcseekeri@1.3.3/post/MCWebTips1/Edge-Menu.webp" class="lazyload" data-srcset="https://unpkg.com/mcseekeri@1.3.3/post/MCWebTips1/Edge-Menu.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="嗯……嘛……啊……"></a><span class='image-caption'>嗯……嘛……啊……</span></div><br><div class='fancybox'><a class='fancybox' itemscope itemtype="http://schema.org/ImageObject" itemprop="url" href='https://unpkg.com/mcseekeri@1.3.3/post/MCWebTips1/Edge-Addons.webp' data-fancybox='default' data-caption='undefined'><img fancybox itemprop="contentUrl" src="https://unpkg.com/mcseekeri@1.3.3/post/MCWebTips1/Edge-Addons.webp" class="lazyload" data-srcset="https://unpkg.com/mcseekeri@1.3.3/post/MCWebTips1/Edge-Addons.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="></a><span></span></div></div><p>Chrome 浏览器有点棘手，因为谷歌服务无法访问，你只能使用一些特殊工具，请自行寻找解决方案。<br>如果你只是想装插件，请搜索”集装箱”</p><h3 id="优秀扩展推荐"><a href="#优秀扩展推荐" class="headerlink" title="优秀扩展推荐"></a>优秀扩展推荐</h3><h4 id="HTTPS-Everywhere"><a href="#HTTPS-Everywhere" class="headerlink" title="HTTPS Everywhere"></a>HTTPS Everywhere</h4><p>起手式先推荐一个简单的。</p><div galleryFlag itemscope itemtype="http://schema.org/ImageGallery" class="gallery stretch" col='1' data-group='default'><div class='fancybox'><a class='fancybox' itemscope itemtype="http://schema.org/ImageObject" itemprop="url" href='https://unpkg.com/mcseekeri@1.3.3/post/MCWebTips1/HTTPS.webp' data-fancybox='default' data-caption='EFF 开发的好玩意'><img fancybox itemprop="contentUrl" src="https://unpkg.com/mcseekeri@1.3.3/post/MCWebTips1/HTTPS.webp" class="lazyload" data-srcset="https://unpkg.com/mcseekeri@1.3.3/post/MCWebTips1/HTTPS.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="EFF 开发的好玩意"></a><span class='image-caption'>EFF 开发的好玩意</span></div></div><p>这是一个”装了就忘”类型的扩展，当你访问 http 链接时，它会自动跳转到 https 链接。https 的技术原理不再赘述，简单来讲就是保证安全性的连接协议。<br>在极少数环境下 (比如一些很烂的 gov 内网页面)，会出现网站支持 https 但无法访问的惨剧。不过那种页面一般都要求用 IE……</p><h4 id="ublock-Origin"><a href="#ublock-Origin" class="headerlink" title="ublock Origin"></a>ublock Origin</h4><p>一个广告拦截插件，能应对大多数广告，对性能要求不高。广告拦截库会自动更新，没什么可说的。<br>如果你无法使用，隔壁的 AdGuard 也不错……</p><p>与其类似的还有”隐私獾”，它会自动学习页面里出现的追踪器，阻止大公司收集你的隐私。</p><div class="note warning"><p>完全的隐私保护非常复杂，一个扩展是远远不够的。你不能指望靠它匿名上网……</p></div><h4 id="Tampermonkey"><a href="#Tampermonkey" class="headerlink" title="Tampermonkey"></a>Tampermonkey</h4><p>最好的总要留到最后，这是一个脚本管理器。可以让你自定义你的上网体验……<br>试举一例：</p><div galleryFlag itemscope itemtype="http://schema.org/ImageGallery" class="gallery stretch" col='1' data-group='default'><div class='fancybox'><a class='fancybox' itemscope itemtype="http://schema.org/ImageObject" itemprop="url" href='https://unpkg.com/mcseekeri@1.3.3/post/MCWebTips1/Tampermonkey-js.webp' data-fancybox='default' data-caption='其实这种脚本都会带点优惠券服务，权当给作者打赏了'><img fancybox itemprop="contentUrl" src="https://unpkg.com/mcseekeri@1.3.3/post/MCWebTips1/Tampermonkey-js.webp" class="lazyload" data-srcset="https://unpkg.com/mcseekeri@1.3.3/post/MCWebTips1/Tampermonkey-js.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="其实这种脚本都会带点优惠券服务，权当给作者打赏了"></a><span class='image-caption'>其实这种脚本都会带点优惠券服务，权当给作者打赏了</span></div></div><p>脚本的权力很高，选择的时候要慎重，如果脚本里夹带了些诸如打开 B 站的时候给 A-SOUL 的视频三连之类的私货就有意思了（</p><div class="tag link"><a class="link-card" title="脚本整合站" href="https://greasyfork.org/zh-CN"><div class="left"><img src="https://unpkg.com/mcseekeri@1.2.6/safari.svg" class="lazyload" data-srcset="https://unpkg.com/mcseekeri@1.2.6/safari.svg" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="/></div><div class="right"><p class="text">脚本整合站</p><p class="url">https://greasyfork.org/zh-CN</p></div></a></div><h2 id="移动浏览器专区"><a href="#移动浏览器专区" class="headerlink" title="移动浏览器专区"></a>移动浏览器专区</h2><p>对于手机用户来说，Edge 和 Firefox 都有手机版，从方便的角度讲选定和你电脑一致的即可。<br>它俩都支持云同步，可以同步你的收藏页标签密码之类。</p><div galleryFlag itemscope itemtype="http://schema.org/ImageGallery" class="gallery stretch" col='1' data-group='default'><div class='fancybox'><a class='fancybox' itemscope itemtype="http://schema.org/ImageObject" itemprop="url" href='https://unpkg.com/mcseekeri@1.3.3/post/MCWebTips1/Firefox-Setting.webp' data-fancybox='default' data-caption='火狐同步分国内版和国际版，我反正选后者'><img fancybox itemprop="contentUrl" src="https://unpkg.com/mcseekeri@1.3.3/post/MCWebTips1/Firefox-Setting.webp" class="lazyload" data-srcset="https://unpkg.com/mcseekeri@1.3.3/post/MCWebTips1/Firefox-Setting.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="火狐同步分国内版和国际版，我反正选后者"></a><span class='image-caption'>火狐同步分国内版和国际版，我反正选后者</span></div><br><div class='fancybox'><a class='fancybox' itemscope itemtype="http://schema.org/ImageObject" itemprop="url" href='https://unpkg.com/mcseekeri@1.3.3/post/MCWebTips1/Edge-Setting.webp' data-fancybox='default' data-caption='undefined'><img fancybox itemprop="contentUrl" src="https://unpkg.com/mcseekeri@1.3.3/post/MCWebTips1/Edge-Setting.webp" class="lazyload" data-srcset="https://unpkg.com/mcseekeri@1.3.3/post/MCWebTips1/Edge-Setting.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="></a><span></span></div></div><div class="note info"><p>如果你的手机性能太过薄弱，你可以使用<a href="https://www.coolapk.com/apk/mark.via">Via</a>浏览器，它只有 1MB 多点，该有的都有。但是要注意：Via 是通过调用你手机自带浏览器内核工作的，如果你手机自带内核版本过旧可能会遇到兼容性问题</p></div><h2 id="小结"><a href="#小结" class="headerlink" title="小结"></a>小结</h2><p>至此，你应该已经选定了适合你的浏览器，祝你网上冲浪开心！</p>]]></content>
    
    
    <summary type="html">针对零技术技术小白准备的一份网上冲浪指南。</summary>
    
    
    
    <category term="技术" scheme="https://blog.mcseekeri.top/categories/%E6%8A%80%E6%9C%AF/"/>
    
    
    <category term="教程" scheme="https://blog.mcseekeri.top/tags/%E6%95%99%E7%A8%8B/"/>
    
    <category term="浏览器" scheme="https://blog.mcseekeri.top/tags/%E6%B5%8F%E8%A7%88%E5%99%A8/"/>
    
  </entry>
  
  <entry>
    <title>如何优雅的使用OneManager</title>
    <link href="https://blog.mcseekeri.top/archives/Guide-of-OneManager/"/>
    <id>https://blog.mcseekeri.top/archives/Guide-of-OneManager/</id>
    <published>2020-08-19T12:48:40.000Z</published>
    <updated>2021-05-02T09:21:00.000Z</updated>
    
    <content type="html"><![CDATA[<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/hint.css/2.4.1/hint.min.css"><p>鉴于我在OneManager群里当客服当的快吐了,而且逸笙前辈又死活不更新README,所以我专门抽出时间来写一个完全版本的OneManager教程。</p><span id="more"></span><h2 id="原材料准备"><a href="#原材料准备" class="headerlink" title="原材料准备"></a>原材料准备</h2><ul><li>稳定的互联网接入</li><li>一台智能设备(电脑手机均可)</li><li>有科学上网的工具</li><li>好使的脑子</li></ul><h2 id="找到官方Repo"><a href="#找到官方Repo" class="headerlink" title="找到官方Repo"></a>找到官方Repo</h2><p>就目前来讲,OneManager在传播的过程中各大博客二次打包&#x2F;Fork的简直不成样子了,所以经常有人用着旧版软件来咨询我们问题,殊不知这个Bug已经修复了大约114514年了（大嘘<br><img src="https://unpkg.com/mcseekeri@1.2.3/ysun/7.png" class="lazyload" data-srcset="https://unpkg.com/mcseekeri@1.2.3/ysun/7.png" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="暴躁内谁"></p><div class="note warning"><p>切记！OneManager只在Github上更新，除此之外任何地方的代码可用性都不做保证！</p></div><p>唯一官方指定Repo<a href="https://github.com/qkqpttgf/OneManager-php">在此</a>,别走丢了。<br><img src="https://unpkg.com/mcseekeri@1.2.4/post/Guide-of-OneManager/Github.png" class="lazyload" data-srcset="https://unpkg.com/mcseekeri@1.2.4/post/Guide-of-OneManager/Github.png" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="Repo截图，存档于2020.8.19"><br>下文我就把OneManager简称OM了啊。</p><h2 id="选择你的平台"><a href="#选择你的平台" class="headerlink" title="选择你的平台"></a>选择你的平台</h2><p>因为逸笙前辈<del>不想被我们骂万年不更新</del>为了增加OM的平台兼容性,所以兼容了一大波网络服务,算是各有优缺点罢,下面我整理了一下,你自己看着选。</p><h3 id="Heroku"><a href="#Heroku" class="headerlink" title="Heroku"></a><a href="https://heroku.com/">Heroku</a></h3><div class='checkbox plus green checked'><input type="checkbox" checked="checked"/>            <p>部署最简单 真正一键式</p>            </div><div class='checkbox plus green checked'><input type="checkbox" checked="checked"/>            <p>使用无需付费</p>            </div><div class='checkbox minus red checked'><input type="checkbox" checked="checked"/>            <p>配置过程需要科学上网</p>            </div><div class='checkbox minus red checked'><input type="checkbox" checked="checked"/>            <p>绑定域名需要信用卡(可通过反向代理绕过)</p>            </div><h3 id="腾讯云函数"><a href="#腾讯云函数" class="headerlink" title="腾讯云函数"></a><a href="https://cloud.tencent.com/product/scf">腾讯云函数</a></h3><div class='checkbox plus green checked'><input type="checkbox" checked="checked"/>            <p>访问速度快</p>            </div><div class='checkbox plus green checked'><input type="checkbox" checked="checked"/>            <p>自选地点丰富</p>            </div><div class='checkbox minus red checked'><input type="checkbox" checked="checked"/>            <p>按量付费，如果没做好反DDCC很容易倾家荡产</p>            </div><div class='checkbox minus red checked'><input type="checkbox" checked="checked"/>            <p>绑定域名需要经过备案</p>            </div><div class='checkbox minus red checked'><input type="checkbox" checked="checked"/>            <p>环境变量大小有限，理论上最多只能添加四个盘</p>            </div><h3 id="华为函数工作流"><a href="#华为函数工作流" class="headerlink" title="华为函数工作流"></a><a href="https://console.huaweicloud.com/functiongraph">华为函数工作流</a></h3><div class='checkbox plus green checked'><input type="checkbox" checked="checked"/>            <p>程序不部署在中国大陆时绑定域名无需备案</p>            </div><div class='checkbox minus red checked'><input type="checkbox" checked="checked"/>            <p>环境变量大小有限，理论上最多只能添加两个盘</p>            </div><p>其余同腾讯云函数</p><h3 id="阿里函数计算"><a href="#阿里函数计算" class="headerlink" title="阿里函数计算"></a><a href="https://fc.console.aliyun.com/">阿里函数计算</a></h3><div class='checkbox plus green checked'><input type="checkbox" checked="checked"/>            <p>环境变量大小无限制</p>            </div><p>其余同华为函数工作流</p><h3 id="百度云函数计算"><a href="#百度云函数计算" class="headerlink" title="百度云函数计算"></a><a href="https://console.bce.baidu.com/cfc/#/cfc/functions">百度云函数计算</a></h3><div class='checkbox plus green checked'><input type="checkbox" checked="checked"/>            <p>有免费额度，完全足够使用</p>            </div><p>其余同腾讯云函数</p><h3 id="自家VPS或虚拟空间"><a href="#自家VPS或虚拟空间" class="headerlink" title="自家VPS或虚拟空间"></a>自家VPS或虚拟空间</h3><div class='checkbox plus green checked'><input type="checkbox" checked="checked"/>            <p>你说呢</p>            </div><div class='checkbox minus red checked'><input type="checkbox" checked="checked"/>            <p>你说呢</p>            </div><h2 id="开始部署"><a href="#开始部署" class="headerlink" title="开始部署"></a>开始部署</h2><p>总之,在选好平台之后就该开始安装程序力！<br>因为OM不管部署在哪里,安装过程都差不多,所以这里先分开讲不同平台怎么部署<del>之后糊弄一下安装过程就可以啦</del><br><img src="https://unpkg.com/mcseekeri@1.2.3/ysun/2.png" class="lazyload" data-srcset="https://unpkg.com/mcseekeri@1.2.3/ysun/2.png" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="名   言   警   句"><br><del>点点点就完了有啥难度</del></p><h3 id="Heroku部署"><a href="#Heroku部署" class="headerlink" title="Heroku部署"></a>Heroku部署</h3><p>打开Repo你应该能看到那个裂了的图,点那个Deploy就成了。<br><img src="https://unpkg.com/mcseekeri@1.2.4/post/Guide-of-OneManager/Heroku.png" class="lazyload" data-srcset="https://unpkg.com/mcseekeri@1.2.4/post/Guide-of-OneManager/Heroku.png" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="没梯子就是这么可怜"><br>然后会跳转到Heroku,记得带上梯子和脑子,安装之前需要注册账号,这里我略过不讲。<br><img src="https://unpkg.com/mcseekeri@1.2.3/ysun/34.png" class="lazyload" data-srcset="https://unpkg.com/mcseekeri@1.2.3/ysun/34.png" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="><br>然后你就会看到配置页面,起名,选地点,点Deploy app,搞定!<br><img src="https://unpkg.com/mcseekeri@1.2.4/post/Guide-of-OneManager/Heroku-Deploy.png" class="lazyload" data-srcset="https://unpkg.com/mcseekeri@1.2.4/post/Guide-of-OneManager/Heroku-Deploy.png" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="我们是OM,不是隔壁OneIndex"><br>然后就是点点点。<br><img src="https://unpkg.com/mcseekeri@1.2.4/post/Guide-of-OneManager/Install.png" class="lazyload" data-srcset="https://unpkg.com/mcseekeri@1.2.4/post/Guide-of-OneManager/Install.png" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="><br><img src="https://unpkg.com/mcseekeri@1.2.4/post/Guide-of-OneManager/Heroku-APIKey.png" class="lazyload" data-srcset="https://unpkg.com/mcseekeri@1.2.4/post/Guide-of-OneManager/Heroku-APIKey.png" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="申请了填进去就好"></p><h3 id="腾讯云函数部署"><a href="#腾讯云函数部署" class="headerlink" title="腾讯云函数部署"></a>腾讯云函数部署</h3><p>点击Repo里那个又大又绿的下载按钮。<br><img src="https://unpkg.com/mcseekeri@1.2.4/post/Guide-of-OneManager/Download.png" class="lazyload" data-srcset="https://unpkg.com/mcseekeri@1.2.4/post/Guide-of-OneManager/Download.png" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="点就完了"><br>然后选择”Download ZIP”,当然你能Clone也行。<br><img src="https://unpkg.com/mcseekeri@1.2.4/post/Guide-of-OneManager/Download-ZIP.png" class="lazyload" data-srcset="https://unpkg.com/mcseekeri@1.2.4/post/Guide-of-OneManager/Download-ZIP.png" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="><br>下载下来之后解压,然后点开目录,Ctrl+A选择所有文件,打包。</p><span class='p red'>没这个过程你程序大概率部署失败，别来找我售后</span><p><img src="https://unpkg.com/mcseekeri@1.2.3/ysun/44.png" class="lazyload" data-srcset="https://unpkg.com/mcseekeri@1.2.3/ysun/44.png" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="><br>然后奔向<a href="https://cloud.tencent.com/product/scf">腾讯云函数官网</a><br>注册账号不解释。<br>左上角选好地点,然后点击新建函数。<br><img src="https://unpkg.com/mcseekeri@1.2.4/post/Guide-of-OneManager/SCF.png" class="lazyload" data-srcset="https://unpkg.com/mcseekeri@1.2.4/post/Guide-of-OneManager/SCF.png" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="><br>推荐空白模板,但偏要选另外一个我也没办法,反正不管是啥都要被干掉换成OM的代码。<br><img src="https://unpkg.com/mcseekeri@1.2.3/ysun/16.png" class="lazyload" data-srcset="https://unpkg.com/mcseekeri@1.2.3/ysun/16.png" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="><br>上传你二次打包的压缩包,不解释。<br><img src="https://unpkg.com/mcseekeri@1.2.4/post/Guide-of-OneManager/SCF2.png" class="lazyload" data-srcset="https://unpkg.com/mcseekeri@1.2.4/post/Guide-of-OneManager/SCF2.png" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="><br>左边点触发管理,新建触发,按照图片设置。</p><div class="note warning"><p>务必勾选”启用集成响应”</p></div><p><img src="https://unpkg.com/mcseekeri@1.2.4/post/Guide-of-OneManager/SCF-API.png" class="lazyload" data-srcset="https://unpkg.com/mcseekeri@1.2.4/post/Guide-of-OneManager/SCF-API.png" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="><br>然后去安装程序。记得新建SecretId和SecretKey。<br><img src="https://unpkg.com/mcseekeri@1.2.4/post/Guide-of-OneManager/SCF-Install.png" class="lazyload" data-srcset="https://unpkg.com/mcseekeri@1.2.4/post/Guide-of-OneManager/SCF-Install.png" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="反正不管选哪个都是要花点钱的"><br>我建议你新建个只能访问SCF和API的账户,安全第一。<br>新建访问密钥的那个页面侧边栏,点用户,新建用户<br><img src="https://unpkg.com/mcseekeri@1.2.4/post/Guide-of-OneManager/SCF-NewUser.png" class="lazyload" data-srcset="https://unpkg.com/mcseekeri@1.2.4/post/Guide-of-OneManager/SCF-NewUser.png" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="务必记得开编程访问"><br>然后把SecretId和SecretKey填回去,搞定。</p><p>如果你需要自定义域名,那就要回到API设置那个地方,点开”管理API”,点编辑,然后把路径删到只剩下个斜杠。<br><img src="https://unpkg.com/mcseekeri@1.2.4/post/Guide-of-OneManager/SCF-API-Config.png" class="lazyload" data-srcset="https://unpkg.com/mcseekeri@1.2.4/post/Guide-of-OneManager/SCF-API-Config.png" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="><br>一路下一步,之后回到”服务信息”那里,把API发布一下。<br><img src="https://unpkg.com/mcseekeri@1.2.4/post/Guide-of-OneManager/SCF-API2.png" class="lazyload" data-srcset="https://unpkg.com/mcseekeri@1.2.4/post/Guide-of-OneManager/SCF-API2.png" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="光看气势你们已经输了"><br>“自定义域名”那里新建域名。<br><img src="https://unpkg.com/mcseekeri@1.2.4/post/Guide-of-OneManager/SCF-Domain.png" class="lazyload" data-srcset="https://unpkg.com/mcseekeri@1.2.4/post/Guide-of-OneManager/SCF-Domain.png" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="><br>如果需要SSL,可以用Cloudflare的源服务器证书,也可以去腾讯申请个TrustAsia证书。</p><h2 id="程序安装"><a href="#程序安装" class="headerlink" title="程序安装"></a>程序安装</h2><p>之后就是枯燥无味的安装了,因为在几乎所有平台上OM表现都几乎一致<br><img src="https://unpkg.com/mcseekeri@1.2.4/post/Guide-of-OneManager/Install.png" class="lazyload" data-srcset="https://unpkg.com/mcseekeri@1.2.4/post/Guide-of-OneManager/Install.png" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="><br>总之跟着步骤来,该添加API的添加API,该复制的复制。</p><h2 id="配置详解"><a href="#配置详解" class="headerlink" title="配置详解"></a>配置详解</h2><p><img src="https://unpkg.com/mcseekeri@1.2.4/post/Guide-of-OneManager/Full-Setting.png" class="lazyload" data-srcset="https://unpkg.com/mcseekeri@1.2.4/post/Guide-of-OneManager/Full-Setting.png" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="><br>嗯……因为这里很多的说明都是祖传代码了,可能不易理解,所以我简单翻译下。</p><h3 id="平台变量"><a href="#平台变量" class="headerlink" title="平台变量"></a>平台变量</h3><ul><li>adminloginpage</li></ul><p>隐藏登录按钮,只能通过访问[你的域名]&#x2F;?[设置的内容]来打开管理界面</p><blockquote><p>示例: login<br>访问:<a href="https://example.com/?login">https://example.com/?login</a></p></blockquote><ul><li>autoJumpFirstDisk</li></ul><p>添加多盘时加一个跳转,不设置的话访问根目录时会让你选择哪个盘,设为1会自动打开第一个盘。</p><ul><li>background</li></ul><p>背景图片,建议使用<a href="https://7bu.top/">去不图床</a>,速度和稳定性都有保证,上传完把链接丢过来</p><blockquote><p>示例: <a href="https://unpkg.com/mcseekeri@1.2.3/img/FutureGadgetLab.webp">https://unpkg.com/mcseekeri@1.2.3/img/FutureGadgetLab.webp</a></p></blockquote><ul><li>backgroundm</li></ul><p>同上,只不过是给手机准备的。</p><ul><li>customCss</li></ul><p>自定义CSS格式,一般用户直接无视就好</p><ul><li>customScript</li></ul><p>在每个页面里插入JS脚本,可以放统计代码啥的。<br>因为屑逸笙没写多行处理,所以你直接在别的地方写完复制到这就行</p><blockquote><p>示例: <code>&lt;script&gt;   window.ga_tid = &#39;UA-104605102-3&#39;;   (function() &#123;     var dga = document.createElement(&quot;script&quot;);     dga.src = &quot;https://rmt.dogedoge.com/fetch/public/ga.js&quot;;     var s = document.getElementsByTagName(&quot;script&quot;)[0];     s.parentNode.insertBefore(dga, s);   &#125;)(); &lt;/script&gt;</code></p></blockquote><div class="note warning"><p>部分主题并没有对这个选项做兼容</p></div><ul><li>passfile</li></ul><p>保存密码的文件名…不是密码！<br>更不是全站加密！<br>譬如罢,你把这个设置成<code>.password</code>,然后去加密某个目录,OM就会在你的OneDrive里创建一个叫<code>.password</code>的文件,里面是这个文件夹的密码。<br>所以设置好了不要轻易改,一改你原本的密码文件就可以看作失效了（<br>而且为了兼容性,我个人建议设置为<code>.password</code>就好,因为诸如GDIndex,GoIndex之类的目录程序都把这个作为密码文件名。</p><ul><li>theme</li></ul><p>选renexmoe.html！</p><p>186记得给我广告费。</p><h3 id="盘内变量"><a href="#盘内变量" class="headerlink" title="盘内变量"></a>盘内变量</h3><ul><li>domain_path</li></ul><p>不同的域名将不同的目录作为根目录…概念有点绕…<br>如果是Heroku部署且没绑卡,这个变量毫无作用…其他云函数平台可以</p><blockquote><p>示例: example.com:&#x2F;默认&#x2F;|bangumi.example.com:&#x2F;番剧&#x2F;|movie.example.com:&#x2F;电影&#x2F;|nsfw.example.com:&#x2F;小姐姐&#x2F;</p></blockquote><ul><li>downloadencrypt</li></ul><p>简单说,就是是否可以无需密码下载加密目录里的文件。</p><p>比如你有个加密文件夹”NSFW”,里面有个文件叫186526.mkv。<br>别人打开目录是啥也看不见的,毕竟他们没密码,但是你可以给他们<code>https://example.com/NSFW/186526.mkv</code>这个链接让他们下载目录里的文件。<br>近似于*nix系统中对目录rwx与-wx的区别</p><ul><li>guestup_path</li></ul><p>把某个文件夹设置成游客上传,文件夹内容不会展示,游客上传文件后可以拿到链接。<br>顺带一提文件会被强制重命名为文件的md5</p><div class="note warning"><p>不要想着提建议说删掉自动重命名</p></div><blockquote><p>示例: &#x2F;NSFW&#x2F;186526&#x2F;</p></blockquote><ul><li>public_path</li></ul><p>设置某个目录为全站根目录。</p><blockquote><p>示例:&#x2F;NSFW</p></blockquote><blockquote><p>没有提到的配置项大多数不需要说明,或者一般用户用不着（</p></blockquote><h2 id="特殊玩法"><a href="#特殊玩法" class="headerlink" title="特殊玩法"></a>特殊玩法</h2>]]></content>
    
    
    <summary type="html">&lt;p&gt;鉴于我在OneManager群里当客服当的快吐了,而且逸笙前辈又死活不更新README,所以我专门抽出时间来写一个完全版本的OneManager教程。&lt;/p&gt;</summary>
    
    
    
    <category term="技术" scheme="https://blog.mcseekeri.top/categories/%E6%8A%80%E6%9C%AF/"/>
    
    
    <category term="教程" scheme="https://blog.mcseekeri.top/tags/%E6%95%99%E7%A8%8B/"/>
    
    <category term="网盘" scheme="https://blog.mcseekeri.top/tags/%E7%BD%91%E7%9B%98/"/>
    
  </entry>
  
</feed>
