<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet href="/rss.xsl" type="text/xsl"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>托管 | 折腾啥</title><description>Power Users/Automators 折腾/讨论/分享各种开源工具/脚本/自动化工作流👥 @zhetengsha_group📌 合集 https://t.me/zhetengsha/2🎁 恰饭 https://t.me/zhetengsha/957📢 广告投放 @xream @xream_botBuy ads: https://telega.io/c/zhetengshafeedId:55438372655431680+userId:62307599601855488</description><link>http://telegram.zhetengsha.eu.org</link><item><title>Sub-Store 小课堂: 根据 Surge 已解锁的功能输出不同的配置在最新的 iOS 版本中，为 Surge 的托管配置、外部资源和模块 HTTP 请求，新增了 X-Surge-Unlocked-Features 字段，用于服务器判定 Surge 已解锁的功能以区分返回结果详见 频道消息在 Sub-Store 中, 可以创建一个文件, 如图. 根据 Surge 已解锁的功能输出不同的配置const headers = $options?._req?.headers</title><link>http://telegram.zhetengsha.eu.org/posts/2953</link><guid isPermaLink="true">http://telegram.zhetengsha.eu.org/posts/2953</guid><pubDate>Wed, 23 Apr 2025 05:30:35 GMT</pubDate><content:encoded>&lt;div class=&quot;image-list-container image-list-odd&quot;&gt;
      &lt;button type=&quot;button&quot; class=&quot;image-preview-button image-preview-wrap&quot; popovertarget=&quot;modal-2953-0&quot; popovertargetaction=&quot;show&quot; aria-label=&quot;Open image preview: Sub-Store 小课堂: 根据 Surge 已解锁的功能输出不同的配置在最新的 iOS 版本中，为 Surge 的托管配置、外部资源和模块 HTTP 请求，新增了 X-Surge-Unlocked-Features 字段，用于服务器判定 Surge 已解锁的功能以区分返回结果详见 频道消息在 Sub-Store 中, 可以创建一个文件, 如图. 根据 Surge 已解锁的功能输出不同的配置const headers = $options?._req?.headers&quot;&gt;
        &lt;img src=&quot;/static/https://cdn5.telesco.pe/file/cRklP5xRoBJbcKvfwN5pAQbYqs01rhbIFMfXynqInDUvcGuH21R9vwub6VFan4g2gv6Xtr_2t6CqQT470M2UMeaTBERkkaY5wIwQx07SaypZC0sjy1z52on_xT_PJe7SVLCGIwhuefpZw6i7KV5H5K57EGJEo_ZbLSS75M0vs6sqEtS4e4E7Fs-X4TpwiWPECqR3JFjp9zdj58ce0_IdgIS1wBZ4qtTKPOuWTHD0WnRu9AyKiKNYW8Lu4C19AGgp3iHigpTEs570VsPyg5X4oVJWLkjfdBms6ZizhzWATVLlR4pRlg6iMo8U-n86aWmpWpci_sZbLN7FxoPkx__E2A.jpg&quot; alt=&quot;Sub-Store 小课堂: 根据 Surge 已解锁的功能输出不同的配置在最新的 iOS 版本中，为 Surge 的托管配置、外部资源和模块 HTTP 请求，新增了 X-Surge-Unlocked-Features 字段，用于服务器判定 Surge 已解锁的功能以区分返回结果详见 频道消息在 Sub-Store 中, 可以创建一个文件, 如图. 根据 Surge 已解锁的功能输出不同的配置const headers = $options?._req?.headers&quot; width=&quot;707&quot; height=&quot;800&quot; loading=&quot;eager&quot; /&gt;
      &lt;/button&gt;
      &lt;div class=&quot;modal&quot; id=&quot;modal-2953-0&quot; popover=&quot;auto&quot; aria-label=&quot;Image preview&quot;&gt;
        &lt;button type=&quot;button&quot; class=&quot;modal__backdrop&quot; popovertarget=&quot;modal-2953-0&quot; popovertargetaction=&quot;hide&quot; aria-label=&quot;Close image preview&quot;&gt;&lt;/button&gt;
        &lt;button type=&quot;button&quot; class=&quot;modal__close&quot; popovertarget=&quot;modal-2953-0&quot; popovertargetaction=&quot;hide&quot; aria-label=&quot;Close image preview&quot;&gt;×&lt;/button&gt;
        &lt;div class=&quot;modal__surface&quot;&gt;
          
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;&lt;u&gt;Sub-Store 小课堂: 根据 Surge 已解锁的功能输出不同的配置&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;在最新的 iOS 版本中，为 Surge 的托管配置、外部资源和模块 HTTP 请求，新增了 X-Surge-Unlocked-Features 字段，用于服务器判定 Surge 已解锁的功能以区分返回结果&lt;/blockquote&gt;&lt;br /&gt;详见 &lt;a href=&quot;https://t.me/SurgeTestFlightFeed/291&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot; title=&quot;频道消息&quot;&gt;频道消息&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;在 Sub-Store 中, 可以创建一个文件, 如图. 根据 Surge 已解锁的功能输出不同的配置&lt;br /&gt;&lt;br /&gt;&lt;pre class=&quot;code&quot;&gt;&lt;code class=&quot;language-javascript&quot;&gt;&lt;span class=&quot;token keyword&quot;&gt;const&lt;/span&gt; headers &lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt; $options&lt;span class=&quot;token operator&quot;&gt;?.&lt;/span&gt;_req&lt;span class=&quot;token operator&quot;&gt;?.&lt;/span&gt;headers
&lt;span class=&quot;token keyword&quot;&gt;const&lt;/span&gt; features &lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;headers&lt;span class=&quot;token operator&quot;&gt;?.&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;token string&quot;&gt;&apos;x-surge-unlocked-features&apos;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;]&lt;/span&gt; &lt;span class=&quot;token operator&quot;&gt;||&lt;/span&gt; headers&lt;span class=&quot;token operator&quot;&gt;?.&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;token string&quot;&gt;&apos;X-Surge-Unlocked-Features&apos;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;?.&lt;/span&gt;&lt;span class=&quot;token function&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;token regex&quot;&gt;&lt;span class=&quot;token regex-delimiter&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;token regex-source language-regex&quot;&gt;\s*,\s*&lt;/span&gt;&lt;span class=&quot;token regex-delimiter&quot;&gt;/&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt;
console&lt;span class=&quot;token punctuation&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;token function&quot;&gt;log&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;features&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;token comment&quot;&gt;// 如果包含某个功能&lt;/span&gt;
&lt;span class=&quot;token keyword&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;features&lt;span class=&quot;token operator&quot;&gt;?.&lt;/span&gt;&lt;span class=&quot;token function&quot;&gt;includes&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;token string&quot;&gt;&apos;encrypted-dns&apos;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;token punctuation&quot;&gt;{&lt;/span&gt;
  &lt;span class=&quot;token comment&quot;&gt;// 就修改内容&lt;/span&gt;
  $content &lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt; $content&lt;span class=&quot;token punctuation&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;token function&quot;&gt;replace&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;token regex&quot;&gt;&lt;span class=&quot;token regex-delimiter&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;token regex-source language-regex&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;token regex-delimiter&quot;&gt;/&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;token string&quot;&gt;&apos;b&apos;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;token punctuation&quot;&gt;}&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;img class=&quot;tg-emoji&quot; src=&quot;/static/https://telegram.me/i/emoji/6327711622831803904.webp&quot; alt=&quot;&quot; loading=&quot;lazy&quot; width=&quot;20&quot; height=&quot;20&quot; /&gt; &lt;a href=&quot;https://t.me/zhetengsha/214&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot; title=&quot;Sub-Store 合集&quot;&gt;Sub-Store 合集&lt;/a&gt;  &lt;img class=&quot;tg-emoji&quot; src=&quot;/static/https://telegram.me/i/emoji/6327880277607583303.webp&quot; alt=&quot;&quot; loading=&quot;lazy&quot; width=&quot;20&quot; height=&quot;20&quot; /&gt; &lt;a href=&quot;https://t.me/zhetengsha/2&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot; title=&quot;频道资源合集&quot;&gt;频道资源合集&lt;/a&gt;  &lt;img class=&quot;tg-emoji&quot; src=&quot;/static/https://telegram.me/i/emoji/6327792445526380187.webp&quot; alt=&quot;&quot; loading=&quot;lazy&quot; width=&quot;20&quot; height=&quot;20&quot; /&gt; &lt;a href=&quot;https://t.me/zhetengsha/957&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot; title=&quot;恰饭推荐&quot;&gt;恰饭推荐&lt;/a&gt;  &lt;img class=&quot;tg-emoji&quot; src=&quot;/static/https://telegram.me/i/emoji/6021860481923288796.webp&quot; alt=&quot;&quot; loading=&quot;lazy&quot; width=&quot;20&quot; height=&quot;20&quot; /&gt; &lt;a href=&quot;https://t.me/zhetengsha_group&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot; title=&quot;群组&quot;&gt;群组&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;img class=&quot;tg-emoji&quot; src=&quot;/static/https://telegram.me/i/emoji/6327836885552991740.webp&quot; alt=&quot;&quot; loading=&quot;lazy&quot; width=&quot;20&quot; height=&quot;20&quot; /&gt; &lt;a href=&quot;/search/result?q=%23SubStore&quot; title=&quot;#SubStore&quot;&gt;#SubStore&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23Sub&quot; title=&quot;#Sub&quot;&gt;#Sub&lt;/a&gt;-Store &lt;a href=&quot;/search/result?q=%23%E5%B0%8F%E8%AF%BE%E5%A0%82&quot; title=&quot;#小课堂&quot;&gt;#小课堂&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23tips&quot; title=&quot;#tips&quot;&gt;#tips&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23%E9%85%8D%E7%BD%AE&quot; title=&quot;#配置&quot;&gt;#配置&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23%E8%A7%A3%E9%94%81&quot; title=&quot;#解锁&quot;&gt;#解锁&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23%E5%8A%9F%E8%83%BD&quot; title=&quot;#功能&quot;&gt;#功能&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23%E6%89%98%E7%AE%A1&quot; title=&quot;#托管&quot;&gt;#托管&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23%E8%84%9A%E6%9C%AC&quot; title=&quot;#脚本&quot;&gt;#脚本&lt;/a&gt;</content:encoded></item></channel></rss>