<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Sangfor on HiDa</title><link>https://www.0niu.cn/tags/sangfor/</link><description>Recent content in Sangfor on HiDa</description><generator>Hugo -- gohugo.io</generator><language>zh</language><lastBuildDate>Thu, 21 May 2026 10:50:57 +0800</lastBuildDate><atom:link href="https://www.0niu.cn/tags/sangfor/index.xml" rel="self" type="application/rss+xml"/><item><title>屏蔽深信服BBC登录页粒子动画</title><link>https://www.0niu.cn/posts/block-sangfor-bbc-particles-animation/</link><pubDate>Thu, 21 May 2026 10:50:57 +0800</pubDate><guid>https://www.0niu.cn/posts/block-sangfor-bbc-particles-animation/</guid><description>&lt;h2 id="前言">前言&lt;/h2>
&lt;p>每次登录深信服 BBC（Business Behavior Control）时，都会被登录页面上那个花里胡哨的粒子动画困扰——漂浮的小点、连线，看起来酷炫，实际毫无用处，纯纯画蛇添足、华而不实，还白白浪费 CPU 和 GPU 资源。&lt;/p></description><content>&lt;h2 id="前言">前言&lt;/h2>
&lt;p>每次登录深信服 BBC（Business Behavior Control）时，都会被登录页面上那个花里胡哨的粒子动画困扰——漂浮的小点、连线，看起来酷炫，实际毫无用处，纯纯画蛇添足、华而不实，还白白浪费 CPU 和 GPU 资源。&lt;/p>
&lt;h2 id="解决方案">解决方案&lt;/h2>
&lt;p>只需要在 uBlock Origin Lite 中添加一条自定义过滤规则，即可屏蔽这个烦人的粒子动画。&lt;/p>
&lt;h3 id="操作步骤">操作步骤&lt;/h3>
&lt;ol>
&lt;li>打开 uBlock Origin Lite 的选项页面（点击扩展图标 → 齿轮图标）&lt;/li>
&lt;li>切换到 &lt;strong>&amp;ldquo;我的规则&amp;rdquo;（My Rules）&lt;/strong> 选项卡&lt;/li>
&lt;li>在规则输入框中添加以下规则：&lt;/li>
&lt;/ol>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span>&amp;lt;hostip&amp;gt;##canvas.particles-js-canvas-el
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>将 &lt;code>&amp;lt;hostip&amp;gt;&lt;/code> 替换为你的深信服 BBC 服务器地址，例如：&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span>10.0.0.1##canvas.particles-js-canvas-el
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ol start="4">
&lt;li>点击 &lt;strong>&amp;ldquo;应用更改&amp;rdquo;（Apply changes）&lt;/strong>&lt;/li>
&lt;/ol>
&lt;h3 id="规则说明">规则说明&lt;/h3>
&lt;ul>
&lt;li>&lt;code>10.0.0.1&lt;/code> — 你的深信服 BBC 服务器 IP 地址&lt;/li>
&lt;li>&lt;code>##&lt;/code> — uBlock Origin 的元素隐藏语法&lt;/li>
&lt;li>&lt;code>canvas.particles-js-canvas-el&lt;/code> — 粒子动画使用的 Canvas 元素的 CSS 选择器&lt;/li>
&lt;/ul>
&lt;p>这条规则会让 uBlock Origin Lite 直接隐藏该 Canvas 元素，页面不再渲染粒子动画，登录页面瞬间清爽，CPU/GPU 占用也随之降低。&lt;/p>
&lt;h2 id="效果">效果&lt;/h2>
&lt;p>添加规则后，深信服 BBC 登录页面将不再显示粒子动画，只保留干净的登录表单。页面加载更快，资源占用更低。&lt;/p>
&lt;h2 id="参考">参考&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://github.com/uBlockOrigin/uBlock/wiki/Static-filter-syntax#element-hiding-filters">uBlock Origin Lite — element hiding syntax&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://github.com/VincentGarreau/particles.js/">particles.js&lt;/a>&lt;/li>
&lt;/ul></content></item></channel></rss>