Skip to content

RuleListUsage

FelisCatus edited this page Feb 9, 2015 · 1 revision

English

This wiki page describes how to use SwitchyOmega rule lists to switch between proxies. If you get redirected here following a link in a published rule list, please follow the instructions below to use it.

  1. Install SwitchyOmega from Chrome Web Store.
  2. In SwitchyOmega options, click on a Switch Profile (e.g. "Auto Switch") in the left menu.
  3. In the "Import online rule lists" section, click the "+ Add a rule list" button.
  • If a rule list is already in use, you can overwrite that. Or, create a new Switch Profile using the "+ New profile" link in the global left menu.
  1. In the "Rule List Config" section, fill in the "Rule List URL" with the download URL of the published rule list that you want to use.
  • If you don't have the URL, copy and paste the rule list into the "Rule List Text" section and go to Step 6.
  1. Press the "Download Profile Now" button to fetch its content.
  2. In the "Switch rules" section, select a profile for the line marked as "Rule list rules". This will be the profile used when any rule in the rule list match. Confirm that the checkbox before "Rule list rules" is checked.
  3. In the "Default" row below, select a profile to be used when no rules match. If you don't want to use proxies by default, ensure that "[Direct]" is selected here.
  4. Click on the "Apply changes" button in the bottom of the left menu. Your rule list is now available for use.
  5. Click on the circle-shaped SwitchyOmega icon in your browser toolbar. Select the Switch Profile you just edited or created to activate it.

For any website, the icon will show whether the rule list is matched or not. Hover on the icon to see a tooltip of detailed information, including the relevant line of the rule list.

中文

以下是如何在 SwitchyOmega 里使用规则列表来切换代理的教程。如果您通过规则列表中的链接来到此页面,请按照以下步骤使用规则列表。

  1. 在谷歌应用商店安装 SwitchyOmega 扩展
  1. 在 SwitchyOmega 的选项页面中,点击左侧菜单中的一个自动切换情景模式,如名为“自动切换”的模式。
  2. 在“导入在线规则列表”一节中,点击“添加规则列表”按钮。
  • 如果已经有一个在线规则列表了,您可以修改替换现有列表,或者在左侧菜单中点击“添加情景模式”按钮,新建一个 自动切换情景模式
  1. 在规则列表设置一节中,输入“规则列表网址”。这个网址填写您想要使用的规则列表的下载地址。
  • 如果您不知道下载地址,可以直接将规则列表文本内容粘贴到“规则列表文本”中,然后跳到第6步。
  1. 按下 "立即更新情景模式" 按钮来下载规则列表。留意屏幕上方的下载成功或失败提示。
  2. 在上方的 "切换规则" 一节,写有“规则列表规则”的一行右侧,选择在规则列表匹配时使用的代理情景模式。确认一下规则列表前面的选择框处于勾选状态。
  3. 在下方一行的“默认规则”右侧,选择不匹配时使用的情景模式。如果不匹配时不希望使用代理,则请在这里选择“[直接连接]”选项。
  4. 点击左侧菜单最下方 “应用更改” 按钮。规则列表已经设置完毕,可以使用了。
  5. 在浏览器右上方的工具栏内,点击 SwitchyOmega 的圆环形图标,选中刚才编辑或新建的自动切换情景模式来激活。

对于任何网站,查看图标即可知道规则列表是否匹配。鼠标在图标上悬停则会显示悬停提示,上面会有具体的信息,包括规则列表匹配了哪一行等。