<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel>
        <title>NotionNext BLOG</title>
        <link>https://not.liyy.us.kg/</link>
        <description>这是一个由NotionNext生成的站点</description>
        <lastBuildDate>Wed, 07 Aug 2024 12:36:32 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>https://github.com/jpmonette/feed</generator>
        <language>zh-CN</language>
        <copyright>All rights reserved 2024, 茗辰原</copyright>
        <item>
            <title><![CDATA[封面替换，信息修改！]]></title>
            <link>https://not.liyy.us.kg/article/example-70</link>
            <guid>https://not.liyy.us.kg/article/example-70</guid>
            <pubDate>Sun, 04 Aug 2024 00:00:00 GMT</pubDate>
            <description><![CDATA[Mp3tag，视频信息一键替换，可修改封面。]]></description>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-4ea0d5398e1b4a2c9b2e126e199c722b"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><div class="notion-row"><a target="_blank" rel="noopener noreferrer" class="notion-bookmark notion-block-9faa6d68be434505abcb9f613ca2ae4b" href="https://www.mp3tag.de/en/download.html"><div><div class="notion-bookmark-title">Mp3tag - Download</div><div class="notion-bookmark-description">Download Mp3tag, a powerful and easy-to-use tool to edit metadata of audio files</div><div class="notion-bookmark-link"><div class="notion-bookmark-link-icon"><img src="https://www.mp3tag.de/apple-touch-icon.png" alt="Mp3tag - Download" loading="lazy" decoding="async"/></div><div class="notion-bookmark-link-text">https://www.mp3tag.de/en/download.html</div></div></div></a></div><div class="notion-callout notion-gray_background_co notion-block-cb11e1bd65594284989bdf5d3a941d95"><div class="notion-page-icon-inline notion-page-icon-span"><span class="notion-page-icon" role="img" aria-label="😀">😀</span></div><div class="notion-callout-text">这里写文章的前言：
Mp3tag是款，视频，音频，信息替换软件，可以编辑任何可以编辑的信息，视频封面等</div></div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-0a0aceb2e96d40378b46ecfc06ed3012" data-id="0a0aceb2e96d40378b46ecfc06ed3012"><span><div id="0a0aceb2e96d40378b46ecfc06ed3012" class="notion-header-anchor"></div><a class="notion-hash-link" href="#0a0aceb2e96d40378b46ecfc06ed3012" title="软件介绍"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">软件介绍</span></span></h2><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-65c69060acf64cb490704a94543c3360"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F9eb66be5-2da5-4456-8ffc-01bb8912d2cd%2F40cd1704-804e-40b2-b6ca-a1f1844ef261%2FSnipaste_2024-08-04_10-25-34.webp?table=block&amp;id=65c69060-acf6-4cb4-9070-4a94543c3360" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-text notion-block-0d66f45ef6e94e1fb5041e470190df14">封面如此，可以替换的信息在左侧。</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-fe087806cf044c6fb71ae8ced9bc7372" data-id="fe087806cf044c6fb71ae8ced9bc7372"><span><div id="fe087806cf044c6fb71ae8ced9bc7372" class="notion-header-anchor"></div><a class="notion-hash-link" href="#fe087806cf044c6fb71ae8ced9bc7372" title="软件使用"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">软件使用</span></span></h3><div class="notion-text notion-block-045e1b6c03ce4b4982c77d83bf7948f0">点击这个按钮，即可打开想<code class="notion-inline-code">修改的文件目录</code></div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-2671a82a7ba94251a8a191abb0425bf0"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F9eb66be5-2da5-4456-8ffc-01bb8912d2cd%2F82b5a82b-dd6a-49d3-aaee-da83e14f6d53%2FSnipaste_2024-08-04_10-28-09.webp?table=block&amp;id=2671a82a-7ba9-4251-a8a1-91abb0425bf0" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-text notion-block-df1e0e83f7c244b0955dfb7e6af1b3af">在<code class="notion-inline-code">右边</code>选择视频，<code class="notion-inline-code">双击</code>即可播放，<code class="notion-inline-code">单击</code>即可修改。</div><hr class="notion-hr notion-block-eab8ef58e9e74a84b2d09d12a68060b6"/><div class="notion-blank notion-block-f3e6b42346ec41ada42c8f410091f778"> </div><div class="notion-text notion-block-cf710e2079b1441381da6dbff43a4932">这里，右键，即可选择想修改的<code class="notion-inline-code">视频封面</code>，也就是<code class="notion-inline-code">缩略图</code></div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-71f441bc0ce74628a2ca9e410d56c22b"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:500px;max-width:100%;flex-direction:column"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F9eb66be5-2da5-4456-8ffc-01bb8912d2cd%2F7f384641-e4a7-42a8-bc35-cf0a9f4112b5%2FSnipaste_2024-08-04_10-28-46.webp?table=block&amp;id=71f441bc-0ce7-4628-a2ca-9e410d56c22b" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-blank notion-block-4b45324729184a3d81d68e46e633fd8b"> </div><div class="notion-blank notion-block-9ccef1901acc4057a4c2250ef403bed2"> </div><div class="notion-text notion-block-c8de9e7e08a0488ebf3931b4f7672c63">修改完成后，点击此处，即可保存更改。</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-363da133385e4653bf243e364b569465"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:547px;max-width:100%;flex-direction:column"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F9eb66be5-2da5-4456-8ffc-01bb8912d2cd%2F08fde74a-6fbb-49dd-88af-c02b79808d7d%2FSnipaste_2024-08-04_10-28-30.webp?table=block&amp;id=363da133-385e-4653-bf24-3e364b569465" alt="notion image" loading="lazy" decoding="async"/></div></figure><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-e8d07dc0da724506919d1f5e3e52db65" data-id="e8d07dc0da724506919d1f5e3e52db65"><span><div id="e8d07dc0da724506919d1f5e3e52db65" class="notion-header-anchor"></div><a class="notion-hash-link" href="#e8d07dc0da724506919d1f5e3e52db65" title="下载"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">下载</span></span></h3><div class="notion-text notion-block-fe94e9caee214013934914d5e77a1b77">官网：<!-- -->‣</div><div class="notion-row"><a target="_blank" rel="noopener noreferrer" class="notion-bookmark notion-block-da46a61874b7456c9916e24ca8b9395d" href="https://www.mp3tag.de/en/download.html"><div><div class="notion-bookmark-title">Mp3tag - Download</div><div class="notion-bookmark-description">Download Mp3tag, a powerful and easy-to-use tool to edit metadata of audio files</div><div class="notion-bookmark-link"><div class="notion-bookmark-link-icon"><img src="https://www.mp3tag.de/apple-touch-icon.png" alt="Mp3tag - Download" loading="lazy" decoding="async"/></div><div class="notion-bookmark-link-text">https://www.mp3tag.de/en/download.html</div></div></div></a></div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[吾爱破解！鼠标录制酷！]]></title>
            <link>https://not.liyy.us.kg/article/example-69</link>
            <guid>https://not.liyy.us.kg/article/example-69</guid>
            <pubDate>Sun, 04 Aug 2024 00:00:00 GMT</pubDate>
            <description><![CDATA[TinyTask，它是一款鼠标键盘操作录制软件]]></description>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-68d8bac99c1f4937963b3893b92261a1"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><div class="notion-callout notion-gray_background_co notion-block-e18606202a0940e3af6cc3523e1dadb8"><div class="notion-page-icon-inline notion-page-icon-span"><span class="notion-page-icon" role="img" aria-label="😀">😀</span></div><div class="notion-callout-text">这里写文章的前言：
<b>TinyTask</b>是一款国外的软件，它是一款<b>鼠标键盘操作录制软件</b>，软件由吾爱大佬@风之暇想 在2019年汉化，距今已经有5年的时间了。</div></div><div class="notion-text notion-block-e580de179d364807bba52a7917d84ac6"><b>TinyTask介绍</b></div><div class="notion-text notion-block-9c301b1b70394a90aca2851491b58df7"><b>TinyTask</b>是一款国外的软件，它是一款<b>鼠标键盘操作录制软件</b>，软件由吾爱大佬@风之暇想 在2019年汉化，距今已经有5年的时间了。</div><div class="notion-text notion-block-07892f5eeb404df38c4866b24d4ad0a9">虽然说5年前还没有Win11，但是我在Win11下测试，其依旧可用！软件是绿色版，压缩包<b>只有33K</b>，解压后也才119K，非常非常小。</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-ee5907ed2cfe4707a7ec6ee1ffc7acfd"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:648px;max-width:100%;flex-direction:column"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F9eb66be5-2da5-4456-8ffc-01bb8912d2cd%2F92a3ffa8-f87b-4210-aab4-8108c08102e7%2F640_(1).webp?table=block&amp;id=ee5907ed-2cfe-4707-a7ec-6ee1ffc7acfd" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-text notion-block-6aff6224a2fb44e4812bd984c0289b8b">软件打开后干净简洁，只打开、保存、录制、播放、编辑、设置这几个按钮。</div><div class="notion-text notion-block-0403d53f1ceb403ca91ec1c4a5eda34e">鼠标键盘录制工具在使用前一定要先进入到设置里面去<b>设置快捷方式</b>。</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-3b9e4c0382254274870d2866c9ca8204"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F9eb66be5-2da5-4456-8ffc-01bb8912d2cd%2F4b71efd4-5a78-4e82-aa7a-5929b88c40ed%2F640_(4).webp?table=block&amp;id=3b9e4c03-8225-4274-870d-2866c9ca8204" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-text notion-block-d430dd28814d4d1d8adab9625697604f">在设置热键的时候，一定<b>不要跟其他的热键冲突</b>，否则会按了就变成了其他的功能了。</div><div class="notion-text notion-block-3f3dbad2f61d44d39e180ade1a21e4aa">比如我这里设置了“F8”，那么录制和暂停都是“F8”了。然后我们就可以愉快的使用了。</div><div class="notion-text notion-block-ca3390bb9b2147d29e9128f102c210cf"><b>点击下面，支持软妹：</b></div><div class="notion-text notion-block-0534e678f1ff4006af4d980e36ff2005"><b>录制鼠标动作：</b>我在一个编辑平台的图片是有限制的，好像最多上传100张，次数达到了，我就不得不删除，所以用这款软件可以录制鼠标动作，然后让其自动帮我删除。</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-fb08e79c949d41f88afde80f50733a50"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F9eb66be5-2da5-4456-8ffc-01bb8912d2cd%2F744feb89-64c7-4584-80e7-7f45fab5b56a%2F640.gif?table=block&amp;id=fb08e79c-949d-41f8-8afd-e80f50733a50" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-text notion-block-ad8851a0c5e746328a9eae9708ac279b"><b>录制键盘动作：</b>除了录制鼠标动作之外，软件还可以录制键盘动作，看下面的我录制好了鼠标输入动作以后，只要点【播放】按钮即可播放刚录制的动作。</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-7c2d6381cc1d4ea38c183b2d7078dd17"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F9eb66be5-2da5-4456-8ffc-01bb8912d2cd%2Ff5816f02-c7e9-42b3-a7e3-2918acd9fd53%2F640_(1).gif?table=block&amp;id=7c2d6381-cc1d-4ea3-8c18-3b2d7078dd17" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-text notion-block-ad06a27dcf624a56864de5ef3c5ca1ee"><b>保存动作：</b>如果你想要把你录制好的动作进行保存，那么点【保存】按钮，那么下次只要选择【打开】即可。</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-5ba77b284fa74259a27011c11bded3f3"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:454px;max-width:100%;flex-direction:column"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F9eb66be5-2da5-4456-8ffc-01bb8912d2cd%2Fa820f926-9fb0-42d5-95c5-3eb23958a6e4%2F640_(3).webp?table=block&amp;id=5ba77b28-4fa7-4259-a270-11c11bded3f3" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-text notion-block-bb133ea582d34f6b93abf696d4993ec9"><b>播放次数设置：</b>如果你想要重复的鼠标键盘操作，可以在设置里设置【循环播放】和【设置循环播放次数】</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-3d30a08a82c347589d9376a0ea6da3ee"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F9eb66be5-2da5-4456-8ffc-01bb8912d2cd%2F5e67934a-d427-4381-8a2e-d239d1401591%2F640_(4).webp?table=block&amp;id=3d30a08a-82c3-4758-9d93-76a0ea6da3ee" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-text notion-block-74523a175e8d4ea4a9882d8b5471156d">有播放次数时，在软件的左上角会显示现在已经<b>重复的次数</b>，这样让我们更加直观了解进度。</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-611b83ee3e12484d8ea9706cc1713268"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:460px;max-width:100%;flex-direction:column"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F9eb66be5-2da5-4456-8ffc-01bb8912d2cd%2F28b36c58-0a5f-43ea-a12b-5f622fd37f5c%2F640_(5).webp?table=block&amp;id=611b83ee-3e12-484d-8ea9-706cc1713268" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-text notion-block-ac219ca8612c44c299c547b2a1fe1c71">其实鼠标录制的软件我推荐过，比如寒星鼠标点击器，但寒星只能录制鼠标动作，不能录制键盘动作，像这种既能录制鼠标，又能录制键盘的，还是挺不错的。</div><div class="notion-text notion-block-e3d3254ff9dd4d80885aa29610de74db">其他的大家自己去体验，软件就介绍到这里啦！</div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[广告通杀！！]]></title>
            <link>https://not.liyy.us.kg/article/example-72</link>
            <guid>https://not.liyy.us.kg/article/example-72</guid>
            <pubDate>Sun, 04 Aug 2024 00:00:00 GMT</pubDate>
            <description><![CDATA[使用MT管理器和LibChecher软件去除广告。]]></description>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-1a9c51c6a73e418387c2e00c8a9699df"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><div class="notion-callout notion-gray_background_co notion-block-f2e8672415e7442baef94e24e55d53b2"><div class="notion-page-icon-inline notion-page-icon-span"><span class="notion-page-icon" role="img" aria-label="😀">😀</span></div><div class="notion-callout-text">这里写文章的前言：
接下分享皆为自学。</div></div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-cc3991d40dc54623b69eb3837f73947d" data-id="cc3991d40dc54623b69eb3837f73947d"><span><div id="cc3991d40dc54623b69eb3837f73947d" class="notion-header-anchor"></div><a class="notion-hash-link" href="#cc3991d40dc54623b69eb3837f73947d" title="首先使用软件LibChecher"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">首先使用软件LibChecher</span></span></h2><div class="notion-text notion-block-0d26d1463a7a4491a270ba3f4b2e158b">打开<code class="notion-inline-code">LibChecher</code>；让后扫描要去除的软件。</div><div class="notion-text notion-block-bdfb75521d5c45c98a44fef49f32aa5a">查看有那种<code class="notion-inline-code">类型的广告</code>。</div><div class="notion-row notion-block-4df349520e4c45aa9c48f42ceb1c3ade"><div class="notion-column notion-block-e808ad45cfa948b3957142b3c5ee991d" style="width:calc((100% - (1 * min(32px, 4vw))) * 0.5)"><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-6980b2509b0946b48a4db68b2fb2846b"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:327px;max-width:100%;flex-direction:column"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F9eb66be5-2da5-4456-8ffc-01bb8912d2cd%2F60369669-bc5f-4988-85d1-5726924243c5%2FSnipaste_2024-08-04_11-14-11.webp?table=block&amp;id=6980b250-9b09-46b4-8a4d-b68b2fb2846b" alt="notion image" loading="lazy" decoding="async"/></div></figure></div><div class="notion-spacer"></div><div class="notion-column notion-block-e4dadde5602b4b3581f09a7f8d1f80f2" style="width:calc((100% - (1 * min(32px, 4vw))) * 0.5)"><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-9664dbdf222945e890bf4af21a9ca7d4"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:321px;max-width:100%;flex-direction:column"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F9eb66be5-2da5-4456-8ffc-01bb8912d2cd%2F88f94b0f-32fa-4782-905a-bc67c7c4e1e1%2FSnipaste_2024-08-04_11-14-27.webp?table=block&amp;id=9664dbdf-2229-45e8-90bf-4af21a9ca7d4" alt="notion image" loading="lazy" decoding="async"/></div></figure></div><div class="notion-spacer"></div></div><div class="notion-text notion-block-eac5f1572e2b4a26a7c3fe85be9b98e3">这里发现，有快手，有腾讯，有穿山甲的广告。如此</div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-263cd5df2acc4f319c55fe99b8da9637" data-id="263cd5df2acc4f319c55fe99b8da9637"><span><div id="263cd5df2acc4f319c55fe99b8da9637" class="notion-header-anchor"></div><a class="notion-hash-link" href="#263cd5df2acc4f319c55fe99b8da9637" title="其次"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">其次</span></span></h2><div class="notion-text notion-block-0e69dd3688fd430c874fa400d2ac801d">打开MT管理器</div><div class="notion-text notion-block-65e5eaedab7442adbbeaac7649c4bea5">还是一样先取出签名，让后打开查看。</div><div class="notion-row notion-block-9aa8f9bb768640d499e8cbff2b59bff8"><div class="notion-column notion-block-8a78e3cb05d44061aff6b6388985be5f" style="width:calc((100% - (1 * min(32px, 4vw))) * 0.5)"><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-d19446fab6834ba087d689fd50a8eb0f"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:321px;max-width:100%;flex-direction:column"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F9eb66be5-2da5-4456-8ffc-01bb8912d2cd%2Fe7c508a7-1603-4778-9152-9fe0291abd8f%2FSnipaste_2024-08-04_11-15-10.webp?table=block&amp;id=d19446fa-b683-4ba0-87d6-89fd50a8eb0f" alt="notion image" loading="lazy" decoding="async"/></div></figure></div><div class="notion-spacer"></div><div class="notion-column notion-block-8b1c6aa2c70c4ea380dd64452301e95e" style="width:calc((100% - (1 * min(32px, 4vw))) * 0.5)"><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-8b8c5cb8782a4cb586a585d55540e608"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:323px;max-width:100%;flex-direction:column"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F9eb66be5-2da5-4456-8ffc-01bb8912d2cd%2F77bc2d25-906b-4e64-9bec-c29983abec1c%2FSnipaste_2024-08-04_11-15-23.webp?table=block&amp;id=8b8c5cb8-782a-4cb5-86a5-85d55540e608" alt="notion image" loading="lazy" decoding="async"/></div></figure></div><div class="notion-spacer"></div></div><div class="notion-text notion-block-dc14c0ca03e64572ad2c1a25cd11d87e">这里，去除广告的文件，相信你们能看懂那些是广告文件。</div><div class="notion-blank notion-block-114a63b93b22487a97addb73ad64abee"> </div><div class="notion-text notion-block-8e90c78c5afa43fb876722f44cf974cc">打开<code class="notion-inline-code">dex</code>，查看dex++</div><div class="notion-text notion-block-624fbaa6ea46491283732766ffdce28a">打开<code class="notion-inline-code">常量</code></div><div class="notion-row notion-block-1049250ec1b942908e4732f3ab193701"><div class="notion-column notion-block-58000a08d8cf44de8f6cd01fffaa8c30" style="width:calc((100% - (1 * min(32px, 4vw))) * 0.5)"><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-7252418a1c9f400384ec4eb32c1220a8"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:330px;max-width:100%;flex-direction:column"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F9eb66be5-2da5-4456-8ffc-01bb8912d2cd%2Fc9747d69-8e6e-4c00-80e5-7dbf24a68e18%2FSnipaste_2024-08-04_11-15-42.webp?table=block&amp;id=7252418a-1c9f-4003-84ec-4eb32c1220a8" alt="notion image" loading="lazy" decoding="async"/></div></figure></div><div class="notion-spacer"></div><div class="notion-column notion-block-c56f5b54b3a047068f00d960285fabb4" style="width:calc((100% - (1 * min(32px, 4vw))) * 0.5)"><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-aaceacabd1dd41d9b86c7a7c686bc0f1"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:313px;max-width:100%;flex-direction:column"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F9eb66be5-2da5-4456-8ffc-01bb8912d2cd%2Fa6170e6a-e2c7-4071-9c2f-b94899e278c8%2FSnipaste_2024-08-04_11-16-11.webp?table=block&amp;id=aaceacab-d1dd-41d9-b86c-7a7c686bc0f1" alt="notion image" loading="lazy" decoding="async"/></div></figure></div><div class="notion-spacer"></div></div><div class="notion-text notion-block-0f79e68d637b47cea7ae180c55a7c1f5">搜索<code class="notion-inline-code">关键词</code>，这里举<code class="notion-inline-code">腾讯广告</code>位例子，搜索<code class="notion-inline-code">qq.e</code></div><div class="notion-text notion-block-1797c4bff56e4776817aa2356ebbed45">让后点击搜索，</div><div class="notion-row notion-block-253987ffb33743b09a3700885440e777"><div class="notion-column notion-block-fbb9194ae09842929ab5ff1053de4322" style="width:calc((100% - (1 * min(32px, 4vw))) * 0.5)"><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-ac3fda53cf5447d68ffb508ff6e870ab"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:324px;max-width:100%;flex-direction:column"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F9eb66be5-2da5-4456-8ffc-01bb8912d2cd%2F72c241a4-db28-4534-9bdb-23750a5adf43%2FSnipaste_2024-08-04_11-16-23.webp?table=block&amp;id=ac3fda53-cf54-47d6-8ffb-508ff6e870ab" alt="notion image" loading="lazy" decoding="async"/></div></figure></div><div class="notion-spacer"></div><div class="notion-column notion-block-062a749efdc34ce9a09dd9d85c1fe086" style="width:calc((100% - (1 * min(32px, 4vw))) * 0.5)"><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-f9c534dd837a47dabc4a734e641bc69c"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:313px;max-width:100%;flex-direction:column"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F9eb66be5-2da5-4456-8ffc-01bb8912d2cd%2F02982dd8-a914-48e7-930b-7696185b41ae%2FSnipaste_2024-08-04_11-16-39.webp?table=block&amp;id=f9c534dd-837a-47da-bc4a-734e641bc69c" alt="notion image" loading="lazy" decoding="async"/></div></figure></div><div class="notion-spacer"></div></div><div class="notion-text notion-block-154260924c3848d09590ecd3e707431d">将搜索到的结果全部替换成<code class="notion-inline-code">#</code></div><div class="notion-text notion-block-ee6ccc8d49eb4aac981c34ee04084a35">就OK了，让后点击应用更改。</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-a9274f809fab46da98ddfcc0a514dfc2"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:301px;max-width:100%;flex-direction:column"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F9eb66be5-2da5-4456-8ffc-01bb8912d2cd%2F93bd7128-5edf-4818-bd2f-eca8ed04d93d%2FSnipaste_2024-08-04_11-16-53.webp?table=block&amp;id=a9274f80-9fab-46da-98dd-fcc0a514dfc2" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-text notion-block-6dfbf1ceba954e5281a37c62d112eb8a">如此，我们再试一次，这里取出快手广告，搜索<code class="notion-inline-code">com.kwad</code></div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-b138ff512a314b3599d4cc2414dd1148"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:325px;max-width:100%;flex-direction:column"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F9eb66be5-2da5-4456-8ffc-01bb8912d2cd%2Fafd64866-15be-46ad-96e6-67a8964fc2be%2FSnipaste_2024-08-04_11-17-19.webp?table=block&amp;id=b138ff51-2a31-4b35-99d4-cc2414dd1148" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-blank notion-block-ab08dda1cff74d4e8dfe90aaed3b837e"> </div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-fdd5278e31da4a7b844d05e541c0b619"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:336px;max-width:100%;flex-direction:column"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F9eb66be5-2da5-4456-8ffc-01bb8912d2cd%2F1e56bea5-bff8-4e81-b89f-855e4a86d47c%2FSnipaste_2024-08-04_11-17-31.webp?table=block&amp;id=fdd5278e-31da-4a7b-844d-05e541c0b619" alt="notion image" loading="lazy" decoding="async"/></div></figure><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-6de0ec8004604c61983dd93290fa1fd6"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:297px;max-width:100%;flex-direction:column"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F9eb66be5-2da5-4456-8ffc-01bb8912d2cd%2Fdc62eabe-cdab-4822-8c57-df988bf1c121%2FSnipaste_2024-08-04_11-17-43.webp?table=block&amp;id=6de0ec80-0460-4c61-983d-d93290fa1fd6" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-text notion-block-1ace7be04bda4b11a2290e2e79a70fdc">同样的，这里就不说明了。</div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-78235280ff6e4cadaf0a86f21e2662bc" data-id="78235280ff6e4cadaf0a86f21e2662bc"><span><div id="78235280ff6e4cadaf0a86f21e2662bc" class="notion-header-anchor"></div><a class="notion-hash-link" href="#78235280ff6e4cadaf0a86f21e2662bc" title="代码总结"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">代码总结</span></span></h2><div class="notion-text notion-block-4152f7eb70dd4804adedadcef346a953">以下是代码:</div><div class="notion-blank notion-block-051b8ff6b808429ba7c15ef2332696b3"> </div><div class="notion-blank notion-block-f050311ec92542608c0ba3b3e231e942"> </div><div class="notion-blank notion-block-ea652a0104344374b241212f94eb17d5"> </div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[广告消失啦！某次元]]></title>
            <link>https://not.liyy.us.kg/article/example-71</link>
            <guid>https://not.liyy.us.kg/article/example-71</guid>
            <pubDate>Mon, 29 Jul 2024 00:00:00 GMT</pubDate>
            <description><![CDATA[使用MT管理器破解Q次元，广告。]]></description>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-e3b9315accb0458e8002ed746062b8eb"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-f1d26fd6d5f846dc808568e41d609735" data-id="f1d26fd6d5f846dc808568e41d609735"><span><div id="f1d26fd6d5f846dc808568e41d609735" class="notion-header-anchor"></div><a class="notion-hash-link" href="#f1d26fd6d5f846dc808568e41d609735" title="纯分享"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">纯分享</span></span></h2><div class="notion-text notion-block-00165bcbcfbf48d5a0f4740d4f464f41">这里为纯记录去除过程，为以后破解流氓软件更有准备。</div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-e316e4bfa7c4447dbd189c43616ce41a" data-id="e316e4bfa7c4447dbd189c43616ce41a"><span><div id="e316e4bfa7c4447dbd189c43616ce41a" class="notion-header-anchor"></div><a class="notion-hash-link" href="#e316e4bfa7c4447dbd189c43616ce41a" title="教程开始"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">教程开始</span></span></h2><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-03617821377b43ab9a8e400a861068a3" data-id="03617821377b43ab9a8e400a861068a3"><span><div id="03617821377b43ab9a8e400a861068a3" class="notion-header-anchor"></div><a class="notion-hash-link" href="#03617821377b43ab9a8e400a861068a3" title="1.准备文件"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">1.准备文件</span></span></h3><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-8d5da3823e79498bb48e0e52e16c9539"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F9eb66be5-2da5-4456-8ffc-01bb8912d2cd%2F873f62ef-bf60-4318-bc1b-ad101a070ccb%2FScreenshot_20240804_104917.webp?table=block&amp;id=8d5da382-3e79-498b-b48e-0e52e16c9539" alt="notion image" loading="lazy" decoding="async"/></div></figure><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-fe407b642df443e992ff38f50e068545" data-id="fe407b642df443e992ff38f50e068545"><span><div id="fe407b642df443e992ff38f50e068545" class="notion-header-anchor"></div><a class="notion-hash-link" href="#fe407b642df443e992ff38f50e068545" title="2.去除签名"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">2.去除签名</span></span></h3><div class="notion-text notion-block-d7d892dd8fe849a794bf9ee9163e63fb">使用MT管理器，让后点击  <code class="notion-inline-code">查看=⇒功能=⇒去除APK签名</code>   点击去除签名校检</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-c26ca640802847d583d442da05019012"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F9eb66be5-2da5-4456-8ffc-01bb8912d2cd%2F5f6ae2e7-21b0-4919-9a60-06ff33d44555%2FScreenshot_20240804_104014.webp?table=block&amp;id=c26ca640-8028-47d5-83d4-42da05019012" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-blank notion-block-547a895eadcd493f831bab56077c69de"> </div><div class="notion-text notion-block-89cafa942d064e10903d6994a4254328">点击确定</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-d90bd9c1f0d7451eb79e789ab9f6b9fe"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F9eb66be5-2da5-4456-8ffc-01bb8912d2cd%2Ff404a718-2597-4554-b92b-4d7a6b58c40e%2FScreenshot_20240804_104017.webp?table=block&amp;id=d90bd9c1-f0d7-451e-b79e-789ab9f6b9fe" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-blank notion-block-c3f6eedbb2b845d1a60f974b105f5c54"> </div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-ea641a0f72564927990e0531ded10813" data-id="ea641a0f72564927990e0531ded10813"><span><div id="ea641a0f72564927990e0531ded10813" class="notion-header-anchor"></div><a class="notion-hash-link" href="#ea641a0f72564927990e0531ded10813" title="3.缩减内存"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">3.缩减内存</span></span></h3><div class="notion-text notion-block-2ef80ccb695246639eb80175c763849d">查看去除后的软件，后缀为———kill.apk</div><div class="notion-blank notion-block-ee841e2113bd49a0bb28a6041e40e5bc"> </div><div class="notion-text notion-block-f413e697c7154a60ba7e2e6fdadd6c6f">进入<code class="notion-inline-code">assets</code></div><div class="notion-text notion-block-ec7dd8943e4f4a2f8e6f72ad1c8c1eb7">除了第一个主文件，其他的<code class="notion-inline-code">全部删除</code></div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-404e1950192e4a2ab600085a9ad373b4"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F9eb66be5-2da5-4456-8ffc-01bb8912d2cd%2Ff952a64b-fa90-49f3-9d98-ec8bc564e574%2FScreenshot_20240804_104310.webp?table=block&amp;id=404e1950-192e-4a2a-b600-085a9ad373b4" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-blank notion-block-35a17034655841998a5dbd893e758f71"> </div><div class="notion-text notion-block-008a0686cfd048db92b32366f5af7ce9">之后进入<code class="notion-inline-code">lib</code></div><div class="notion-blank notion-block-4f8063729cf0459d89b3376bf186caa4"> </div><div class="notion-text notion-block-36aa91f4aa7f4597b2d09dc66b618356">删除<code class="notion-inline-code">armeabi-v7a </code> 旧垃圾版本文件</div><div class="notion-blank notion-block-c1c654821229492fa8d954b3eda2f1f3"> </div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-1b67b19d5d2f437b8a0e7ffcd88dedac" data-id="1b67b19d5d2f437b8a0e7ffcd88dedac"><span><div id="1b67b19d5d2f437b8a0e7ffcd88dedac" class="notion-header-anchor"></div><a class="notion-hash-link" href="#1b67b19d5d2f437b8a0e7ffcd88dedac" title="去除广告"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">去除广告</span></span></h3><div class="notion-text notion-block-65b44f787fc949799a0df7ed59daa897">接下来进入<code class="notion-inline-code">dex</code>，点击第一个<code class="notion-inline-code">dex++</code>，全选，查看</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-73e1f9be94d748859b84ff04b0ef29eb"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F9eb66be5-2da5-4456-8ffc-01bb8912d2cd%2F74dd0025-8b81-40b2-b9ae-463554311dbd%2FScreenshot_20240804_104524.webp?table=block&amp;id=73e1f9be-94d7-4885-9b84-ff04b0ef29eb" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-blank notion-block-fd2b12184bd54483a96629a0e8203dc2"> </div><div class="notion-text notion-block-472380430209457893e6ff411e809018">搜索<code class="notion-inline-code">mainactivity</code>,让后搜索，进入</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-e2b8bba8913143cf9f7aeea6d46ce506"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F9eb66be5-2da5-4456-8ffc-01bb8912d2cd%2Fa30fca0a-6cde-4367-873e-423328f86c68%2FScreenshot_20240804_104623.webp?table=block&amp;id=e2b8bba8-9131-43cf-9f7a-eea6d46ce506" alt="notion image" loading="lazy" decoding="async"/></div></figure><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-73c0405532454157a372ada55fdb770a"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F9eb66be5-2da5-4456-8ffc-01bb8912d2cd%2F22aff8ba-4e57-483c-80af-7d6945741a47%2FScreenshot_20240804_104631.webp?table=block&amp;id=73c04055-3245-4157-a372-ada55fdb770a" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-blank notion-block-c9953171824d4a56a94691b98e823a07"> </div><div class="notion-text notion-block-1618cae515844707939c47eb8c0e69f3">找到<code class="notion-inline-code">.method</code></div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-bd47e739c77d4fb6a7d060504ad149c8"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F9eb66be5-2da5-4456-8ffc-01bb8912d2cd%2Fb81ad113-8bf5-444c-adc8-b5d415f5270c%2FScreenshot_20240804_104746.webp?table=block&amp;id=bd47e739-c77d-4fb6-a7d0-60504ad149c8" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-blank notion-block-59ef8c7adc3c447797666c76e5d3f808"> </div><div class="notion-text notion-block-165763db41c342f4b8b934384ddf37a1">将这之后的<code class="notion-inline-code">全部删除</code>，点击<code class="notion-inline-code">剪切</code>即可</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-0dd7595b9efc4f22b492f022a1a3a07d"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F9eb66be5-2da5-4456-8ffc-01bb8912d2cd%2F3faa3327-f901-490e-a949-e67b6da3251b%2FScreenshot_20240804_104756.webp?table=block&amp;id=0dd7595b-9efc-4f22-b492-f022a1a3a07d" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-blank notion-block-894508d3187a497d867b2f72af1294cd"> </div><div class="notion-blank notion-block-385afeaa5341455a92bda55b9e3c6099"> </div><div class="notion-text notion-block-fb60be2381c042fe8756dc53fa59e352">保存文件再退出</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-ca1de966eef747dcb6b1a20135a4ad62"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F9eb66be5-2da5-4456-8ffc-01bb8912d2cd%2Ff545863b-18c7-4c53-970c-31cefec64216%2FScreenshot_20240804_104842.webp?table=block&amp;id=ca1de966-eef7-47dc-b6b1-a20135a4ad62" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-blank notion-block-5d7728012b1645dfa74f8599707e4649"> </div><div class="notion-text notion-block-876846d802f24820a12601ad432c8da7">破解完成！只有27kb</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-c22bc73e13c44f7a90df4dfce3696308"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F9eb66be5-2da5-4456-8ffc-01bb8912d2cd%2Fab6a3c29-f496-4f81-b86c-622df1a0d7b0%2FScreenshot_20240804_104917.webp?table=block&amp;id=c22bc73e-13c4-4f7a-90df-4dfce3696308" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-blank notion-block-c783bedf68b14231b5c96281b2fe136c"> </div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[最强查看器！破解了！]]></title>
            <link>https://not.liyy.us.kg/article/example-68</link>
            <guid>https://not.liyy.us.kg/article/example-68</guid>
            <pubDate>Mon, 29 Jul 2024 00:00:00 GMT</pubDate>
            <description><![CDATA[分享两个破解版本的MT管理器，可用于破解软件使用。]]></description>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-5206fffd5b224fc5bc7bc7f5df269cbb"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><div class="notion-callout notion-gray_background_co notion-block-834cc7df97c84083adb2f75c22126a80"><div class="notion-page-icon-inline notion-page-icon-span"><span class="notion-page-icon" role="img" aria-label="😀">😀</span></div><div class="notion-callout-text">这里写文章的前言：
所有资源来源于网络，请大家理性下载，本版本为特殊版本，用于查看文件破解资源。</div></div><div class="notion-text notion-block-3edfb68eddda40a3942e9e8e1b0a15b6">MT管理器</div><div class="notion-text notion-block-fbef16b2287d4d2ca73cc52aec14d601">已破解所有功能，请自行使用。</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-5873a043573045a285bcbd4323518e41"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F9eb66be5-2da5-4456-8ffc-01bb8912d2cd%2Fa21d4dc8-7746-4728-ba85-0d58dcc117da%2FScreenshot_20240729_195132.webp?table=block&amp;id=5873a043-5730-45a2-85bc-bd4323518e41" alt="notion image" loading="lazy" decoding="async"/></div></figure><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-75355ccc63244e4bbd773de93b64ee50"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F9eb66be5-2da5-4456-8ffc-01bb8912d2cd%2F0a2859cb-2c2b-4abc-98fe-cf39de466278%2F18c83e03-e06f-47f2-afda-64289e1ec681.webp?table=block&amp;id=75355ccc-6324-4e4b-bd77-3de93b64ee50" alt="notion image" loading="lazy" decoding="async"/></div></figure><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-1e6124a4079d40b3a4a52454bee66915" data-id="1e6124a4079d40b3a4a52454bee66915"><span><div id="1e6124a4079d40b3a4a52454bee66915" class="notion-header-anchor"></div><a class="notion-hash-link" href="#1e6124a4079d40b3a4a52454bee66915" title="下载"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">下载</span></span></h2><div class="notion-row"><a target="_blank" rel="noopener noreferrer" class="notion-bookmark notion-block-346cc6a86a3043c5b19a30cad2c4f357" href="https://cloud.06dn.com/s/d0DWul"><div><div class="notion-bookmark-title">七彩云存储</div><div class="notion-bookmark-link"><div class="notion-bookmark-link-icon"><img src="https://cloud.06dn.com/static/img/favicon.ico" alt="七彩云存储" loading="lazy" decoding="async"/></div><div class="notion-bookmark-link-text">https://cloud.06dn.com/s/d0DWul</div></div></div></a></div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[最强网站性能检测！！]]></title>
            <link>https://not.liyy.us.kg/article/example-67</link>
            <guid>https://not.liyy.us.kg/article/example-67</guid>
            <pubDate>Sun, 28 Jul 2024 00:00:00 GMT</pubDate>
            <description><![CDATA[Lighthouse网站性能检测。]]></description>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-0cb9618fd06d4d6283bd3d763bdc650a"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-d560f244b8cc4b5190282e9c20aed1b2" data-id="d560f244b8cc4b5190282e9c20aed1b2"><span><div id="d560f244b8cc4b5190282e9c20aed1b2" class="notion-header-anchor"></div><a class="notion-hash-link" href="#d560f244b8cc4b5190282e9c20aed1b2" title="1、谷歌插件lighthouse的基本介绍"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><b>1、谷歌插件lighthouse的基本介绍</b></span></span></h3><div class="notion-text notion-block-4b65697d64a949ce8bc9d3afcc48bbb1">Lighthouse 是一个网站性能测评工具， 它是 Google Chrome 推出的一个开源自动化工具，能够对 PWA 和网页多方面的效果指标进行评测，并给出最佳实践的建议以帮助开发者改进网站的质量。</div><div class="notion-text notion-block-c8f765e85c744fc391aa4422ef8408cb">它能够生成一个有关页面性能的报告，通过报告我们就可以知道需要采取哪些措施来改进应用的性能和体验。</div><h4 class="notion-h notion-h3 notion-h-indent-1 notion-block-db50b485e84f40a4a52fb0ce32760cbd" data-id="db50b485e84f40a4a52fb0ce32760cbd"><span><div id="db50b485e84f40a4a52fb0ce32760cbd" class="notion-header-anchor"></div><a class="notion-hash-link" href="#db50b485e84f40a4a52fb0ce32760cbd" title="1.1、什么是PWA"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><b>1.1、什么是PWA</b></span></span></h4><div class="notion-text notion-block-f453d87656e94e0883376a4f1d67de79">PWA，全称直译过来就是渐进式网页应用（ProgressiveWebApp）。它是一种网页应用，它可以离线使用，可以变成独立应用安装到系统中。它非常的轻量化，在多平台上面拥有一致的界面。</div><div class="notion-text notion-block-d397bec7873f40288bdc0089949dd82b">PWA 可以在浏览器上访问，也可以单独安装成一个应用在系统上。</div><div class="notion-text notion-block-434fa6d7e9ab417db2defbf45c3e8a95">在电脑端，最简单的就是使用Chrome浏览器。当Chrome检测到当前访问的网页支持PWA的时候，在地址栏的右端就会出现一个安装按钮，点击即可将这个PWA变成一个应用安装到浏览器中。而在Android上，使用Chrome浏览PWA站点时也会有相应的提示，添加到应用之后就会自动进行编译安装。iOS上面使用Safari打开网站然后在菜单中选择添加到Home Screen就可以了，之后点开应用图标就会以独立应用形式出现，而不是通过Safari加载网页。</div><div class="notion-text notion-block-eeeebb8e6dec4e5890d1c885b4835819">一些可用的 PWA 应用：微博 PWA（<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://m.weibo.cn/beta">https://m.weibo.cn/beta</a>） 和 飞猪（<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://h5.m.taobao.com/trip/home-pwa/index.html?_projVer=0.1.131">https://h5.m.taobao.com/trip/home-pwa/index.html?_projVer=0.1.131</a>）。有兴趣的打开看看，可以看到浏览器右上角有一个安装按钮，点击即可将该应用安装到系统中</div><div class="notion-text notion-block-4fa567c006c34553ac7cbbf5b8d5bbaa">参考：<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://www.jiangweishan.com/article/html9234jsldkjflsdjf.html">https://www.jiangweishan.com/article/html9234jsldkjflsdjf.html</a></div><div class="notion-text notion-block-d9be72b36f4d41939a07bb28a181524b">有多种方法可以使用lighthouse来对我们的网站进行性能测评，在需要使用到 node 时，node 的版本会对 lighthouse 有影响，低版本的 node 将执行不了 lighthouse，node版本应该保持 8.9 及以上版本（或更新） 。</div><div class="notion-text notion-block-d3d9b898d713401f9bbf3e81c9bad71a">各使用方法如下：</div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-e6df3bcb390c48fdaf999760df66af21" data-id="e6df3bcb390c48fdaf999760df66af21"><span><div id="e6df3bcb390c48fdaf999760df66af21" class="notion-header-anchor"></div><a class="notion-hash-link" href="#e6df3bcb390c48fdaf999760df66af21" title="2、使用Chrome插件lighthouse"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><b>2、使用Chrome插件lighthouse</b></span></span></h3><div class="notion-text notion-block-29169e46bc6348208eb54f22e091a5fe">（注意，插件的下载和报告的查看可能都需要墙后才能看）</div><div class="notion-text notion-block-a5f44cb8c2de43739fa2696a2ffa9048">可以在 Chrome 扩展商城里搜索 lighthouse ，或者通过以下地址来下载 lighthouse 添加至 Chrome浏览器中。</div><div class="notion-text notion-block-1e9d440434bb4f69a9fae0913981ea0f">插件商城下载地址：<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://chrome.google.com/webstore/detail/lighthouse/blipmdconlkpinefehnmjammfjpmpbjk">https://chrome.google.com/webstore/detail/lighthouse/blipmdconlkpinefehnmjammfjpmpbjk</a></div><div class="notion-text notion-block-bc67c77590274fde8892e2d4a29792c7">（上面地址应该需要墙才能访问，这里给大家分享一个网盘下载链接：链接：<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://pan.baidu.com/s/1qFv9F8mtnp1gzGI_kg3lXQ">https://pan.baidu.com/s/1qFv9F8mtnp1gzGI_kg3lXQ</a>    提取码：4ysn ）</div><div class="notion-text notion-block-6de0f76efc8e411fa56a64f5c1e83747">插件安装成功后，点击浏览器的右上方可以看到灯塔的按钮标记。</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-0336421d75cc4d66bf7b4db927a9a8d0"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:597px;max-width:100%;flex-direction:column"><img style="object-fit:cover" src="https://img2020.cnblogs.com/blog/1424359/202101/1424359-20210105154325443-1701734315.png" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-text notion-block-fc5fdc8961fc480d9b9597be8e1e8963">先访问需要评估的网站，比如 http://www.baidu.com，然后点击灯塔按钮，选择 generate report 即可。lighthouse 会运行一系列的测试审查这个页面，然后它会把关于页面执行的一些性能指标以报告的形式展示给你。你可以参考这份报告中的一些指标提示来提升你的网站应用。Lighthouse 能够生成一份 JSON 或 HTML 报告，比如下图：</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-4e87e4ffe39f4059a4b62eb3230c0a50"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:700px;max-width:100%;flex-direction:column"><img style="object-fit:cover" src="https://img2020.cnblogs.com/blog/1424359/202101/1424359-20210105154858867-178477918.png" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-text notion-block-74161908bd2c4fc59abaf405b50f1106">lighthouse 可以生成 HTML 和 json 格式的报告，HTML 可以直接打开，json 格式的报告可以通过 <a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://googlechrome.github.io/lighthouse/viewer/">https://googlechrome.github.io/lighthouse/viewer/</a> 这个地址来打开。</div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-2390889198184ef3bdd093a4cf121c35" data-id="2390889198184ef3bdd093a4cf121c35"><span><div id="2390889198184ef3bdd093a4cf121c35" class="notion-header-anchor"></div><a class="notion-hash-link" href="#2390889198184ef3bdd093a4cf121c35" title="3、直接使用Chrome浏览器开发者工具（F12）自带功能"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><b>3、直接使用Chrome浏览器开发者工具（F12）自带功能</b></span></span></h3><div class="notion-text notion-block-f1addb7612074f65a2ec58f143e9a6d2">在高版本（应该是 &gt;= 60）的 Chrome 浏览器中，Lighthouse 已经直接集成到了调试工具 DevTools 中了，因此不需要进行任何安装或下载。</div><div class="notion-text notion-block-31dc054998b342299ceae055a8c63397">按 F12 打开开发者工具，可以看到在 console、security 等选项后面有一个 Audits （安装了lighthouse插件或者是高版本的谷歌浏览器可能显示的是 lighthouse）选项，选择该选项，然后点击 generate report 即可。</div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-8c2a236a35f94d5da26029125153ad7e" data-id="8c2a236a35f94d5da26029125153ad7e"><span><div id="8c2a236a35f94d5da26029125153ad7e" class="notion-header-anchor"></div><a class="notion-hash-link" href="#8c2a236a35f94d5da26029125153ad7e" title="4、使用npm包lighthouse"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><b>4、使用npm包lighthouse</b></span></span></h3><div class="notion-text notion-block-9cd096fcc8d84906b6a931c58f827f9e">通过下载 npm 全局包 lighthouse，我们可以直接在命令行当中使用 lighthouse 来对网站进行性能测评。</div><div class="notion-text notion-block-44b9730900704f4d98a7eb592c14e32e">首先，需要先安装 Node，需要 Node 8 LTS(8.9) 及以上版本。然后安装全局包 lighthouse：</div><div class="notion-text notion-block-c42df528020e47c8955a5a0b98270963"><code class="notion-inline-code">
1. npm install -g lighthouse</code></div><div class="notion-text notion-block-fa9eded9d82e4b5ca57fa89017e737a0">安装完成后我们就可以直接对某一个网站运行 lighthouse 命令了：</div><div class="notion-text notion-block-3b07a61fd40c46798a778f7b284ad5e1"><code class="notion-inline-code">
1. lighthouse http://www.baidu.com/</code></div><div class="notion-text notion-block-c26029666a0c4171974355f2119b060f">默认情况下，会在执行命令的当前目录下生成一个 HTML 文件，直接打开该文件即可查看报告</div><div class="notion-text notion-block-ebe8dd35c52c448aa5a3c40c66e427db">Lighthouse 命令提供了多个参数，通过参数的配置，能够更灵活地进行测评并输出报告结果。常用的参数有：</div><div class="notion-text notion-block-ed36398e3471450aa3d96440cfe6355e"><code class="notion-inline-code">lighthouse &lt;url&gt; &lt;options&gt;</code></div><div class="notion-text notion-block-fee9b70bc1374a87a4e4d0bb1c3805f4"><code class="notion-inline-code">
1. lighthouse --help   //输入 --help 选项可以查看可用的输入、输出选项
2. 
3. lighthouse http://www.baidu.com --view   //直接通过浏览器打开HTML报告
4. 
5. lighthouse http://www.baidu.com --output json  //结果以 json 格式文件输出
6. 
7. lighthouse http://www.baidu.com --output json --output-path ./myfile.json   //指定结果文件输出的目录
8. 
9. lighthouse https://baidu.com --output html --output-path ./report.html   //指定结果文件输出的目录</code></div><div class="notion-text notion-block-cb925865e8984230a21260c4d324d42e">其他参数可参考 lighthouse的 github 官网：<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://github.com/GoogleChrome/lighthouse">https://github.com/GoogleChrome/lighthouse</a></div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-22a42624a115479ab992a7890737e7de" data-id="22a42624a115479ab992a7890737e7de"><span><div id="22a42624a115479ab992a7890737e7de" class="notion-header-anchor"></div><a class="notion-hash-link" href="#22a42624a115479ab992a7890737e7de" title="5、直接克隆github上的lighthouse开源项目"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><b>5、直接克隆github上的lighthouse开源项目</b></span></span></h3><div class="notion-text notion-block-7ddbb89ffdf049d3ad60f276524abcd9">我们可以通过直接克隆 github 上的 lighthouse 开源项目，然后通过开源项目来执行 lighthouse 命令。</div><div class="notion-text notion-block-c23a17c1b7cc426a8e3a6c94d0b0284d">先克隆项目，下载依赖：</div><div class="notion-text notion-block-e72df9c41ec748fe8650ec0048ca7d84"><code class="notion-inline-code">
1. git clone https://github.com/GoogleChrome/lighthouse    //克隆项目
2. 
3. cd lighthouse   //切换至项目根目录
4. 
5. npm install   //下载依赖
6. 
7. npm run build-all    //貌似这一步不执行也可以。这一步编译可能会有错，但不影响后面执行</code></div><div class="notion-text notion-block-bf1d5823658d4da1af72553ff05f0c8b">然后执行 lighthouse 命令对网站进行测评：</div><div class="notion-text notion-block-d4024b102a034e169455e6f2c4c9c787"><code class="notion-inline-code">
1. node lighthouse-cli http://www.baidu.com</code></div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-471b96a7896149ef8bdabcf9cf8bb45a" data-id="471b96a7896149ef8bdabcf9cf8bb45a"><span><div id="471b96a7896149ef8bdabcf9cf8bb45a" class="notion-header-anchor"></div><a class="notion-hash-link" href="#471b96a7896149ef8bdabcf9cf8bb45a" title="6、在node中以编程方式引入lighthouse模块"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><b>6、在node中以编程方式引入lighthouse模块</b></span></span></h3><div class="notion-text notion-block-fafd917958244012bdbe0675a02a96bf">我们可以直接在我们的代码当中引入 lighthouse 模块，以编程开发的方式引入 lighthouse 功能。但需注意，lighthouse 是一个 node 节点模块，我们只能在服务器当中运行它（比如可以使用 nodejs），不能在类似于 vue 等项目当中引用它。</div><div class="notion-text notion-block-6406e58e536d47dba7065d00fae1b824">比如我们创建一个 nodejs 项目，先使用 npm init 初始化一个项目。然后安装 lighthouse 和 chrome-launcher 依赖，最后执行即可。<code class="notion-inline-code">chrome-launcher</code> 用于调起浏览器。</div><div class="notion-text notion-block-2c0125e3fe654d519ac2bea245856a80">比如创建了一个 lighthouseTEST 文件夹，先使用 npm 初始化该项目：</div><div class="notion-text notion-block-2f3c9a0367da446393c2934cdb4261b0"><code class="notion-inline-code">
1. npm init   //在项目根目录下执行npm init，初始化项目</code></div><div class="notion-text notion-block-38f875004f4341249e88e5c6d413c149">下载依赖：</div><div class="notion-text notion-block-f048e3300e6e4dee862d5d126fdd1b8e"><code class="notion-inline-code">
1. npm install lighthouse chrome-launcher --save</code></div><div class="notion-text notion-block-a24e99789dfb430ab1c9b5009d94676b">创建一个 js 文件，比如 server.js：</div><div class="notion-text notion-block-14bbe8504f94434284b30a0c5430989d"><code class="notion-inline-code">
1. const fs = require(&#x27;fs&#x27;);
2. const lighthouse = require(&#x27;lighthouse&#x27;);
3. const chromeLauncher = require(&#x27;chrome-launcher&#x27;);   //chrome-launcher 用于调起浏览器
4. 
5. (async () =&gt; {
6.   const chrome = await chromeLauncher.launch({chromeFlags: [&#x27;--headless&#x27;]});   //chromeLauncher 工具包提供了 launch 方法，接收一个启动所需的参数对象，这个参数用于配置 chrome 的启动环境、启动方式等。该方法返回一个Chrome实例
7. 
8.   //lighthouse运行的一些配置信息
9.   const options = {logLevel: &#x27;info&#x27;, output: &#x27;html&#x27;,  port: chrome.port};
10. 
11.   //执行lighthouse得到执行结果，执行结果是一个JS对象
12.   const runnerResult = await lighthouse(&#x27;https://www.baidu.com&#x27;, options);
13. 
14.   //通过lighthouse的运行结果的report属性值拿到运行报告，运行报告是用于 HTML/JSON/CSV 输出结果的一个字符串
15.   const reportHtml = runnerResult.report;
16. 
17.   //生成结果文件
18.   fs.writeFileSync(&#x27;lhreport.html&#x27;, reportHtml);
19. 
20.   //关闭Chrome浏览器进程
21.   await chrome.kill();
22. })();</code></div><div class="notion-text notion-block-66bee5e313e14e619f8c22db030ad188">执行 server.js 文件：</div><div class="notion-text notion-block-e38a8a041ab54f5699b37375041ece4f"><code class="notion-inline-code">
1. node server.js</code></div><div class="notion-text notion-block-f5c5cb63b78b44af83a9c638d7983f1a">执行完 node server.js 命令后将会在当前目录下生成一份 HTML 报告文件，打开HTML文件即可查看报告。</div><div class="notion-text notion-block-32fb1e519eba4941b2bd4397e0676e95">项目目录结构如下：</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-9c780b06bf17497abc38605b945c72e8"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column"><img src="https://img2020.cnblogs.com/blog/1424359/202101/1424359-20210105183548917-1416366169.png" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-text notion-block-4d07b9a968a54b1291eeb9d393ac5c21">参考：<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://github.com/GoogleChrome/lighthouse/blob/master/docs/readme.md#using-programmatically">https://github.com/GoogleChrome/lighthouse/blob/master/docs/readme.md#using-programmatically</a></div><h4 class="notion-h notion-h3 notion-h-indent-1 notion-block-038b16bc1a8d4951b80745a81a2c330b" data-id="038b16bc1a8d4951b80745a81a2c330b"><span><div id="038b16bc1a8d4951b80745a81a2c330b" class="notion-header-anchor"></div><a class="notion-hash-link" href="#038b16bc1a8d4951b80745a81a2c330b" title="6.1、代码及配置分析"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><b>6.1、代码及配置分析</b></span></span></h4><div class="notion-text notion-block-2788efc275274b2ba8ce8ea5227e7a10"><code class="notion-inline-code">
1. const fs = require(&#x27;fs&#x27;);
2. const lighthouse = require(&#x27;lighthouse&#x27;);
3. const chromeLauncher = require(&#x27;chrome-launcher&#x27;);
4. 
5. (async () =&gt; {
6.   const chrome = await chromeLauncher.launch({chromeFlags: [&#x27;--headless&#x27;]});
7. 
8.   //lighthouse运行的一些配置信息
9.   const options = {logLevel: &#x27;info&#x27;, output: &#x27;html&#x27;,  port: chrome.port};
10. 
11.   //执行lighthouse得到执行结果，执行结果是一个JS对象
12.   const runnerResult = await lighthouse(&#x27;https://www.baidu.com&#x27;, options);
13. 
14.   //通过lighthouse的运行结果的report属性拿到运行报告，运行报告是一个string
15.   const reportHtml = runnerResult.report;
16. 
17.   //生成结果文件
18.   fs.writeFileSync(&#x27;lhreport.html&#x27;, reportHtml);
19. 
20.   //关闭Chrome浏览器进程
21.   await chrome.kill();
22. })();</code></div><div class="notion-text notion-block-f21b18096bbd48a280a65d8f9fc3a672">默认的运行结果有五个指标（performance、accessiblity、best practices、seo、progressive web app）。</div><h4 class="notion-h notion-h3 notion-h-indent-1 notion-block-0c0b7e3db5f9437980fa4d1e86c827a5" data-id="0c0b7e3db5f9437980fa4d1e86c827a5"><span><div id="0c0b7e3db5f9437980fa4d1e86c827a5" class="notion-header-anchor"></div><a class="notion-hash-link" href="#0c0b7e3db5f9437980fa4d1e86c827a5" title="6.1.1、options配置对象"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><b>6.1.1、options配置对象</b></span></span></h4><div class="notion-text notion-block-1864c75ab0ca453aaa29525f6c76e176">有时候可能我们只关注某一些指标，比如性能指标 performance，这时候我们可以给 options 里面添加属性 onlyCategories ，此时运行结果将只会包含 performance 指标：</div><div class="notion-text notion-block-14bde4fe9c9d40df9cb5f8a37eed4be5"><code class="notion-inline-code">
1. const options = {onlyCategories: [&#x27;performance&#x27;]};</code></div><div class="notion-text notion-block-372435aedb614b5e811f923aea58db7e">options 里面的 logLevel: &#x27;info&#x27; 表示 lighthouse 运行过程中输出的日志级别，如果不想要运行过程中输出日志，将该属性去掉即可。</div><h4 class="notion-h notion-h3 notion-h-indent-1 notion-block-e8df2625acb24e3990ee3ede0f51c5b5" data-id="e8df2625acb24e3990ee3ede0f51c5b5"><span><div id="e8df2625acb24e3990ee3ede0f51c5b5" class="notion-header-anchor"></div><a class="notion-hash-link" href="#e8df2625acb24e3990ee3ede0f51c5b5" title="6.1.2、额外的config配置对象"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><b>6.1.2、额外的config配置对象</b></span></span></h4><div class="notion-text notion-block-b69c6b32a7cc4bafa9adb8bee1fd618c">另外，我们可以将额外的一个配置对象作为第三个参数传递给 lighthouse 函数，这个 config 参数能够帮助我们更细粒度地去控制整个测评。</div><div class="notion-text notion-block-0359aac989cd490c9ab646b75859d133">比如可以将下面的 config 对象作为第三个参数传递给 lighthouse 函数，它在继承默认的配置的基础上进行了一定的自定义：</div><div class="notion-text notion-block-5afe4a10e2184a2aa18fa0bb71db1f6c"><code class="notion-inline-code">
1. const config = {
2.     extends: &#x27;lighthouse:default&#x27;,
3.     audits: [
4.         &#x27;autocomplete&#x27;,
5.         &#x27;large-javascript-libraries&#x27;,
6.         &#x27;script-treemap-data&#x27;,
7.     ],
8.     categories: {
9.         // @ts-ignore: `title` is required in CategoryJson. setting to the same value as the default
10.         // config is awkward - easier to omit the property here. Will defer to default config.
11.         &#x27;performance&#x27;: {
12.         　　auditRefs: [
13.             　　{id: &#x27;large-javascript-libraries&#x27;, weight: 0, group: &#x27;diagnostics&#x27;},
14.         　　],
15.         },
16.         // @ts-ignore: `title` is required in CategoryJson. setting to the same value as the default
17.         // config is awkward - easier to omit the property here. Will defer to default config.
18.         &#x27;best-practices&#x27;: {
19.         　　auditRefs: [
20.            　　 {id: &#x27;autocomplete&#x27;, weight: 0, group: &#x27;best-practices-ux&#x27;},
21.       　　  ],
22.         },
23.     },
24. };</code></div><div class="notion-text notion-block-8d3d3be55a19444cb0e2fe0f067def4e">使用额外的自定义配置，你可以限制审核的运行，在特殊条件下添加页面的其他负载，添加自己的自定义检查，调整评分等。</div><div class="notion-text notion-block-c0d7690d3ab0428eb1c05b2ec6490bad">可以在通过命令行使用Lighthouse或自己使用 node 模块时指定自定义配置文件：</div><div class="notion-text notion-block-323dea34469347e3ac20b38a46ce8e83"><code class="notion-inline-code">
1. //下面是自定义配置文件 custom-config.js 的内容：
2. module.exports = {
3.   extends: &#x27;lighthouse:default&#x27;,
4.   settings: {
5.     onlyAudits: [
6.       &#x27;first-meaningful-paint&#x27;,
7.       &#x27;speed-index&#x27;,
8.       &#x27;first-cpu-idle&#x27;,
9.       &#x27;interactive&#x27;,
10.     ],
11.   },
12. };</code></div><div class="notion-text notion-block-f6dcbebf34fc4ecdb723ebf3b0cc1597">在命令中使用：</div><div class="notion-text notion-block-0741488a43504125a34ccc9853278a98"><code class="notion-inline-code">
1. lighthouse --config-path=path/to/custom-config.js https://example.com</code></div><div class="notion-text notion-block-7124b952823e4a0381d0b2eac00b175d">在 node 模块中使用：</div><div class="notion-text notion-block-4a82a6fe4f3b4b15914bd78f8a3adb47"><code class="notion-inline-code">
1. const lighthouse = require(&#x27;lighthouse&#x27;);
2. const config = require(&#x27;./path/to/custom-config.js&#x27;);
3. lighthouse(&#x27;https://example.com/&#x27;, {port: 9222}, config);</code></div><div class="notion-text notion-block-bc6ff1a839a8420a9e1e21c9e2a27c2d">参考：<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://github.com/GoogleChrome/lighthouse/blob/master/docs/configuration.md">https://github.com/GoogleChrome/lighthouse/blob/master/docs/configuration.md</a></div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-bde75500c1a54df4a39bb3bc12c17aa4" data-id="bde75500c1a54df4a39bb3bc12c17aa4"><span><div id="bde75500c1a54df4a39bb3bc12c17aa4" class="notion-header-anchor"></div><a class="notion-hash-link" href="#bde75500c1a54df4a39bb3bc12c17aa4" title="7、lighthouse 运行的生命周期"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><b>7、lighthouse 运行的生命周期</b></span></span></h3><div class="notion-text notion-block-3473e6a26c54495f94b51cc544e6a9f9">Lighthouse 运行测评的过程有一套完整的生命周期，可以划分成三个主要流程：</div><div class="notion-text notion-block-cf72293cc7304e048c790d62872aa010"><b>Collecting（收集数据）：</b>首先是 Collecting 流程，这一步会调用内置的驱动程序（Driver） ，其作用是通过谷歌开发工具协议（ Chrome DevTools Protocol） 调起浏览器，并创建新的 tab 请求待测评的站点，通过浏览器采集站点数据并将结果（称之为 Artifacts）保存在本地临时目录。</div><div class="notion-text notion-block-ca1d2b23cb4e492d9066e5676ced261d"><b>Auditing（分析数据）：</b>然后进入 Auditing 流程，读取 Artifacts 数据，根据内置的评判策略逐条进行检查并计算出各项的数字形式得分。</div><div class="notion-text notion-block-7f72fe32d4a34eae99fde391c363983f"><b>Report（生成报告）：</b>最后进行 Report 流程，将评分结果按照 PWA、性能、无障碍访问、最佳实践等纬度进行划分，以 JSON、HTML 等格式输出。</div><div class="notion-text notion-block-e9d7f28a5e174642a05fd1208d095791">如下图：</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-d106ce39933f4291afb86c6a128aa9b1"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column"><img src="https://img2020.cnblogs.com/blog/1424359/202101/1424359-20210105180027391-233543594.png" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-text notion-block-55f07be3a80f4a1a842b49bc0ede05f8">命令行工具基于此提供了生命周期的选项，我们可以让 CLI 只运行整个测评过程的一个或多个特定生命周期。比如，使用 --gather-mode（-G）只进行资源采集的生命周期，命令行工具将会启动浏览器，采集被测试站点的相关数据，并将结果以 json 的形式存储到本地，默认是 <code class="notion-inline-code">./latest-run/</code> 目录，然后退出进程：</div><div class="notion-text notion-block-4a71fe87d7ee49ac9708978e9a93243e"><code class="notion-inline-code">
1. lighthouse https://example.com/ -G</code></div><div class="notion-text notion-block-dd8af00180074597ad4aa3086904716f">如果想要跳过浏览器的交互，直接从本地读取页面的临时数据，运行测评和产出结果报告，则可以使用 --audit-mode（-A），默认将从 <code class="notion-inline-code">./latest-run/</code> 目录读取：</div><div class="notion-text notion-block-a331cced95304df58ab123713107fe80"><code class="notion-inline-code">
1. lighthouse https://example.com/ -A</code></div><div class="notion-text notion-block-10f13585b35140f19e8607766ca813c8">两个选项同时使用，就会运行整个测评的生命周期，与直接运行 lighthouse 命令相比，会在当前目录保存一份测试站点的数据。</div><div class="notion-text notion-block-0302e163f9bd40e6978220621249ea2f"><code class="notion-inline-code">
1. lighthouse https://example.com -GA</code></div><div class="notion-text notion-block-e3d767628ee44d45841e366b4a24506d">如果不想使用默认的 <code class="notion-inline-code">./latest-run/</code> 目录，我们也能自定义站点的 json 数据的保存目录，如：</div><div class="notion-text notion-block-d6d9cab338644b3599d932bdf1f32029"><code class="notion-inline-code">
1. lighthouse -GA=./mycustomfolder https://example.com</code></div><div class="notion-text notion-block-c47fab082e9a4fe2a1134ff40a811bf0">参考：<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://lavas-project.github.io/pwa-book/appendix01.html">https://lavas-project.github.io/pwa-book/appendix01.html</a></div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-0a93f544a6124c81b47d7b65508bcc7f" data-id="0a93f544a6124c81b47d7b65508bcc7f"><span><div id="0a93f544a6124c81b47d7b65508bcc7f" class="notion-header-anchor"></div><a class="notion-hash-link" href="#0a93f544a6124c81b47d7b65508bcc7f" title="8、lighthouse报告的指标分析"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><b>8、lighthouse报告的指标分析</b></span></span></h3><div class="notion-text notion-block-e39c75715d0c463fa2abbad80292c61d">使用 Lighthouse 对网站进行测评后，我们会得到一份评分报告，它包含了性能（Performance），访问无障碍（Accessibility），最佳实践（Best Practice），搜索引擎优化（SEO），PWA（Progressive Web App）五个部分：</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-c060a9887fc548368eea49529783fd38"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:700px;max-width:100%;flex-direction:column"><img style="object-fit:cover" src="https://img2020.cnblogs.com/blog/1424359/202101/1424359-20210106142650145-1984833822.png" alt="notion image" loading="lazy" decoding="async"/></div></figure><h4 class="notion-h notion-h3 notion-h-indent-1 notion-block-3031d49a0de84a76b81c7e8e744e6ed8" data-id="3031d49a0de84a76b81c7e8e744e6ed8"><span><div id="3031d49a0de84a76b81c7e8e744e6ed8" class="notion-header-anchor"></div><a class="notion-hash-link" href="#3031d49a0de84a76b81c7e8e744e6ed8" title="8.1、性能（Performance）"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><b>8.1、性能（Performance）</b></span></span></h4><div class="notion-text notion-block-58e269b889a34da684ea733584588207">性能评分的分值区间是0到100，如果出现0分，通常是在运行 Lighthouse 时发生了错误，满分100分代表了网站已经达到了98分位值的数据，而50分则是75分位值的数据。</div><div class="notion-text notion-block-ee13805fd93a4c18878325b09a1e5d64">影响评分的性能指标：性能测试结果会分成 Metrics，Diagnostic，Opportunities 三部分，但只有 Metrics 部分的指标项会对分数产生直接影响。</div><div class="notion-text notion-block-7e8d8f7439fd4305a0338d33420f162c">Lighthouse 会衡量以下 Metrics 性能指标项：</div><ul class="notion-list notion-list-disc notion-block-32c805a8716445ffa6fa657e173f7e4b"><li>首次内容绘制（First Contentful Paint）。即浏览器首次将任意内容（如文字、图像、canvas 等）绘制到屏幕上的时间点。</li></ul><ul class="notion-list notion-list-disc notion-block-18b8de7ddaa64262bfa84907e37a7505"><li>首次有效绘制（First Meaningful Paint）。衡量了用户感知页面的主要内容（primary content）可见的时间。对于不同的站点，首要内容是不同的，例如：对于博客文章，标题及首屏文字是首要内容，而对于购物网站来说，图片也会变得很重要。</li></ul><ul class="notion-list notion-list-disc notion-block-fceaff6814194dbb89eddd3981f29581"><li>首次 CPU 空闲（First CPU Idle）。即页面首次能够对输入做出反应的时间点，其出现时机往往在首次有效绘制完成之后。该指标目前仍处于实验阶段。</li></ul><ul class="notion-list notion-list-disc notion-block-900d66d7eb4d4ec6826abcdc81b8d853"><li>可交互时间（Time to Interactive）。指的是所有的页面内容都已经成功加载，且能够快速地对用户的操作做出反应的时间点。该指标目前仍处于实验阶段。</li></ul><ul class="notion-list notion-list-disc notion-block-371708d26da54b41865d030fad361980"><li>速度指标（Speed Index）。衡量了首屏可见内容绘制在屏幕上的速度。在首次加载页面的过程中尽量展现更多的内容，往往能给用户带来更好的体验，所以速度指标的值约小越好。</li></ul><ul class="notion-list notion-list-disc notion-block-e1480470105b4de9a7bc5231c07ac8c0"><li>输入延迟估值（Estimated Input Latency）。这个指标衡量了页面对用户输入行为的反应速度，其基准值应低于 50ms。</li></ul><div class="notion-text notion-block-e8a40b3d748e456fab76b181cbb5c565">Metrics 部分的指标项会直接影响分数，可以作为我们的主要参考点。</div><div class="notion-text notion-block-5501faafe86343bea0811dff0ebb844e">另外的两部分中， <b>Opportunities</b> 指的是优化机会，它提供了详细的建议和文档，来解释低分的原因，帮助我们具体进行实现和改进。<b>Diagnostics</b> 指的是现在存在的问题，为进一步改善性能的实验和调整给出了指导。这两者不会纳入分数的计算。</div><h4 class="notion-h notion-h3 notion-h-indent-1 notion-block-fa85e7652ec741f59e08b858b55a2476" data-id="fa85e7652ec741f59e08b858b55a2476"><span><div id="fa85e7652ec741f59e08b858b55a2476" class="notion-header-anchor"></div><a class="notion-hash-link" href="#fa85e7652ec741f59e08b858b55a2476" title="8.1.1、性能评分标准"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><b>8.1.1、性能评分标准</b></span></span></h4><div class="notion-text notion-block-de540e46b711467fa210aa24ac089a62">每一项性能指标对评分的贡献都有其计算逻辑，Lighthouse 会将原始的性能值映射成为 0-100 之间的数字。</div><div class="notion-text notion-block-00ff8b9e01f84696a47c0c21bd83337b">例如，FMP（First Meaningful Paint）的原始值是从页面初始化开始到主要内容渲染成功的耗时，根据真实站点的数据，顶级性能的站点的 FMP 值约为 1220ms，这个值会被映射成 Lighthouse 的 99 分。</div><div class="notion-text notion-block-3dc03186bf1c475686a7622cc5155b86">针对不同的评分，Lighthouse 用了不同的颜色进行标注，分值区间和颜色的对应关系如下：</div><ul class="notion-list notion-list-disc notion-block-255592c08294445181de5161155897d8"><li>0 - 49（慢）：红色</li></ul><ul class="notion-list notion-list-disc notion-block-3c9de21caa974eb8a8940e707e280d58"><li>50 - 89（平均值）： 橙色</li></ul><ul class="notion-list notion-list-disc notion-block-ef5cb7d71dff453f92edc213e4785ded"><li>90 - 100（快）： 绿色</li></ul><div class="notion-text notion-block-58b449f123eb4d01829727a079a9139b">各个指标对性能评分的贡献并不相同，权重较大的指标，对性能评分的影响更大一些。各指标权重分配情况可参考：<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://docs.google.com/spreadsheets/d/1Cxzhy5ecqJCucdf1M0iOzM8mIxNc7mmx107o5nj38Eo/edit#gid=0">https://docs.google.com/spreadsheets/d/1Cxzhy5ecqJCucdf1M0iOzM8mIxNc7mmx107o5nj38Eo/edit#gid=0</a></div><h4 class="notion-h notion-h3 notion-h-indent-1 notion-block-2d26c03f371544cab90075b5f7479e5b" data-id="2d26c03f371544cab90075b5f7479e5b"><span><div id="2d26c03f371544cab90075b5f7479e5b" class="notion-header-anchor"></div><a class="notion-hash-link" href="#2d26c03f371544cab90075b5f7479e5b" title="8.2、访问无障碍（Accessibility）"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><b>8.2、访问无障碍（Accessibility）</b></span></span></h4><div class="notion-text notion-block-09ae43a64f2444839f8b5afedddf1d18">访问无障碍评分的分值由相关指标的加权平均值计算而来。可以在<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://docs.google.com/spreadsheets/d/1Cxzhy5ecqJCucdf1M0iOzM8mIxNc7mmx107o5nj38Eo/edit#gid=0">评分详情</a>查阅每项指标的具体权重。同理，较大权重的指标项对分数的影响较大。</div><div class="notion-text notion-block-ae42f12264f048eabb414704f248c235">无障碍性的每个指标项测试结果为<code class="notion-inline-code">pass</code>或者<code class="notion-inline-code">fail</code>，与性能指标项的计算方式不同，当页面只是部分通过某项指标时，页面的这项指标将不会得分。例如，如果页面中的一些元素有<code class="notion-inline-code">屏幕阅读器友好</code>的命名，而其他的元素没有，那么这个页面的 screenreader-friendly-names 指标项得分为0。</div><h4 class="notion-h notion-h3 notion-h-indent-1 notion-block-8c71d6f76b6f4a5293022787ef4ee894" data-id="8c71d6f76b6f4a5293022787ef4ee894"><span><div id="8c71d6f76b6f4a5293022787ef4ee894" class="notion-header-anchor"></div><a class="notion-hash-link" href="#8c71d6f76b6f4a5293022787ef4ee894" title="8.3、最佳实践（优化）（Best Practice）"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><b>8.3、最佳实践（优化）（Best Practice）</b></span></span></h4><div class="notion-text notion-block-38874642e2f545f49767f0f69a28c1c2">最佳实践评分的分数区间为0-100。影响这项评分的指标项的权重都是相同的。</div><div class="notion-text notion-block-bb594a72cc6c4c01ab95d21e70896c21">比如：推荐使用 https，跨域的跳转链接需要使用 rel 标识，不能使用废弃的 API等等。</div><h4 class="notion-h notion-h3 notion-h-indent-1 notion-block-cfbc7cd253314b8e8147680ed09e4dc7" data-id="cfbc7cd253314b8e8147680ed09e4dc7"><span><div id="cfbc7cd253314b8e8147680ed09e4dc7" class="notion-header-anchor"></div><a class="notion-hash-link" href="#cfbc7cd253314b8e8147680ed09e4dc7" title="8.4、搜索引擎优化（SEO）"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><b>8.4、搜索引擎优化（SEO）</b></span></span></h4><div class="notion-text notion-block-4a9fa6bf72f7450ca04e4ed56cbce3bf">比如：图片元素使用 alt 属性等等提高搜索引擎搜索排名，便于搜索引擎能找到你这个网站。</div><h4 class="notion-h notion-h3 notion-h-indent-1 notion-block-0ba674da0a1d4f1ca87a5b36e8e74542" data-id="0ba674da0a1d4f1ca87a5b36e8e74542"><span><div id="0ba674da0a1d4f1ca87a5b36e8e74542" class="notion-header-anchor"></div><a class="notion-hash-link" href="#0ba674da0a1d4f1ca87a5b36e8e74542" title="8.5、PWA（Progressive Web App）"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><b>8.5、PWA（Progressive Web App）</b></span></span></h4><div class="notion-text notion-block-14248a38b96d44fe8a725fb321437d39">Lighthouse 使用 PWA 基准检查项列表（Baseline PWA Checklist）进行测评，测评结果将这些指标项分成了四个类别，共包含12个自动测试项和3个手动测试项，其中各个自动测试项的评分权重是相同的。PWA 的评测指标对我们来说非常重要，我们可以从这四个类别详细了解一下基准指标项。</div><div class="notion-text notion-block-a8efdb4b18834a728503cbb434547657"><b>快速可靠：</b></div><ol start="1" class="notion-list notion-list-numbered notion-block-09a9bd34acee467494606daf6fabfdd0"><li>页面在移动网络条件下能够快速加载。</li></ol><ol start="2" class="notion-list notion-list-numbered notion-block-19b951d6f357419d9cddf5ee771fce6a"><li>在离线条件下页面能够返回状态码200。这里我们可以通过 Service Worker 来实现离线可用。</li></ol><ol start="3" class="notion-list notion-list-numbered notion-block-b8a93671fc7542628b010061f19e5eea"><li>start_url 在离线条件下返回状态码200。start_url 是前面章节我们提到过的 manifest.json 中的一个属性，它指定了用户打开该 PWA 时加载的 URL。</li></ol><div class="notion-text notion-block-fa08501135254a299d13198e495334ad"><b>可安装：</b></div><ol start="1" class="notion-list notion-list-numbered notion-block-7f09656881c7401083740bbdf3032a99"><li>始终使用 HTTPS。</li></ol><ol start="2" class="notion-list notion-list-numbered notion-block-78f4ce41248b4c6ebc1ddc93ac183a29"><li>注册 Service Worker 来缓存页面以及 start_url。</li></ol><ol start="3" class="notion-list notion-list-numbered notion-block-3feedfe9c8c04a93ae8f779ef67c71fe"><li>使用 manifest 文件来实现安装 PWA 的需求，浏览器能够主动通知用户将应用添加到桌面，增加留存率。</li></ol><div class="notion-text notion-block-cae9c3b7b0134facaa03d1fd02c5cddd"><b>PWA 优化：</b></div><ol start="1" class="notion-list notion-list-numbered notion-block-a5f1670f2eb54786bcaa4770b4716303"><li>将 HTTP 流量重定向到 HTTPS。</li></ol><ol start="2" class="notion-list notion-list-numbered notion-block-956f2d909c2d49e6ac533f75d5778941"><li>配置自定义启动画面。</li></ol><ol start="3" class="notion-list notion-list-numbered notion-block-9be843a49371432a93fe3b81177c40c8"><li>设置地址栏主题颜色。</li></ol><ol start="4" class="notion-list notion-list-numbered notion-block-088638892d534d17afb9c8b904f277d6"><li>页面内容针对视口大小自适应，对移动用户的展示更友好。</li></ol><ol start="5" class="notion-list notion-list-numbered notion-block-f4ad10a0228d4c8e856f3b0f2984f7f0"><li>使用了 <code class="notion-inline-code">&lt;meta name=&quot;viewport&quot;&gt;</code> 标签，并设置了 width 或 initial-scale 属性。</li></ol><ol start="6" class="notion-list notion-list-numbered notion-block-d0807245d24a4ee38c2b995759c4dab5"><li>当 JavaScript 文件不可用时，提供降级措施，页面能显示基本内容而不出现白屏。</li></ol><div class="notion-text notion-block-70800723507a4ee9856788bd8b72e2b6"><b>手动测试项：</b></div><ol start="1" class="notion-list notion-list-numbered notion-block-c6fdecd7d05343afb1dffe2c46e53d21"><li>站点跨浏览器可用，如主流浏览器 Chrome, Edge, Firefox 及 Safari 等。</li></ol><ol start="2" class="notion-list notion-list-numbered notion-block-24e258b47be24f5ca04e6002a7279c5b"><li>页面间切换流畅，即使在较差的网络环境下，切换动画也应该简洁顺畅，这是提高用户感知体验的关键。</li></ol><ol start="3" class="notion-list notion-list-numbered notion-block-6dfac961647347358f26544e54743d8e"><li>保证每个页面都有独一无二的 URL，能够在新的浏览器窗口打开，且方便在社交媒体上进行分享。</li></ol><div class="notion-text notion-block-966e4e6414cb45edb0e32f99123aa040">除了上述基准指标项之外，为了让 PWA 的体验更加完美，还有一些 Lighthouse 未实现检查的进阶指标，也就是可以作为示范性参考的 PWA 的指标，比如用户体验、缓存、推送通知等等。</div><div class="notion-text notion-block-4fa31501c6f04dd6916f9b6f3d61681a">参考：<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://lavas-project.github.io/pwa-book/appendix01/2-lighthouse-score-guide.html">https://lavas-project.github.io/pwa-book/appendix01/2-lighthouse-score-guide.html</a></div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-d56d791efe2544abaab026a6f54ec9a5" data-id="d56d791efe2544abaab026a6f54ec9a5"><span><div id="d56d791efe2544abaab026a6f54ec9a5" class="notion-header-anchor"></div><a class="notion-hash-link" href="#d56d791efe2544abaab026a6f54ec9a5" title="9、node及Chrome版本要求"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><b>9、node及Chrome版本要求</b></span></span></h3><div class="notion-text notion-block-e4e07c59d992445eac1c138f912ec7ab">使用 lighthouse 时 node 和 Chrome 浏览器的版本有一定的要求。</div><div class="notion-text notion-block-058c7edf204d4fcdb8c3f4182663792e">node &gt; =8.9 （未验证）</div><div class="notion-text notion-block-439ce8dafaf84e3a933b7b51a84a3410">Chrome 浏览器必须 &gt;= 79 ，否则 lighthouse 可能会运行失败，或者是某些指标无法显示出来。比如下面我安装的是 Chrome75.0.3770.80，使用命令行执行 lighthouse 时有两个指标显示异常：</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-740046842e23433aabfe783d5b2a1a5b"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:700px;max-width:100%;flex-direction:column"><img style="object-fit:cover" src="https://img2020.cnblogs.com/blog/1424359/202101/1424359-20210106190501301-1582409629.png" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-text notion-block-7771496be3aa4dd695cbcd7846aa7af8">performance 和 best practice 指标显示异常，错误如下：</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-765d258c4d984c3b94207cf31912927a"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column"><img src="https://img2020.cnblogs.com/blog/1424359/202101/1424359-20210106190523598-402284021.png" alt="notion image" loading="lazy" decoding="async"/></div></figure><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-130aea2198644c63af71cff74d540538"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:700px;max-width:100%;flex-direction:column"><img style="object-fit:cover" src="https://img2020.cnblogs.com/blog/1424359/202101/1424359-20210106190604390-1607642215.png" alt="notion image" loading="lazy" decoding="async"/></div></figure><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-76f31f2f72cc4de3b53025b9169a95eb" data-id="76f31f2f72cc4de3b53025b9169a95eb"><span><div id="76f31f2f72cc4de3b53025b9169a95eb" class="notion-header-anchor"></div><a class="notion-hash-link" href="#76f31f2f72cc4de3b53025b9169a95eb" title="#参考链接"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><b>#参考链接</b></span></span></h3><div class="notion-text notion-block-8904b179794e4f89990c0966d2db1eed">全文可参考：</div><div class="notion-text notion-block-fb5e4579566d419c827d115c2d17bae8">lighthouse评分指南：<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://lavas-project.github.io/pwa-book/appendix01/2-lighthouse-score-guide.html">https://lavas-project.github.io/pwa-book/appendix01/2-lighthouse-score-guide.html</a></div><div class="notion-text notion-block-2740c28df139487f96df24c2baa0f7cc">lighthouse 的 github 网址：<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://github.com/GoogleChrome/lighthouse">https://github.com/GoogleChrome/lighthouse</a></div><div class="notion-text notion-block-2064d8bb444944689e0781fd2e3b77e7">如何以编程方式使用lighthouse：<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://github.com/GoogleChrome/lighthouse/blob/master/docs/readme.md#using-programmatically">https://github.com/GoogleChrome/lighthouse/blob/master/docs/readme.md#using-programmatically</a></div><div class="notion-text notion-block-7630ea4a54424a88bb0f3b104e2402e0">lighthouse 的配置相关：<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://github.com/GoogleChrome/lighthouse/blob/master/docs/configuration.md">https://github.com/GoogleChrome/lighthouse/blob/master/docs/configuration.md</a></div><div class="notion-text notion-block-fcc87651f43844ceb456c096454b5475">PWA和lighthouse的一些使用教程：<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://lavas-project.github.io/pwa-book/appendix01/1-lighthouse.html">https://lavas-project.github.io/pwa-book/appendix01/1-lighthouse.html</a></div></main></div>]]></content:encoded>
        </item>
    </channel>
</rss>