-
Notifications
You must be signed in to change notification settings - Fork 3.2k
RuleListUsage
FelisCatus edited this page Feb 9, 2015
·
1 revision
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.
- Install SwitchyOmega from Chrome Web Store.
- In SwitchyOmega options, click on a Switch Profile (e.g. "Auto Switch") in the left menu.
- 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.
- 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.
- Press the "Download Profile Now" button to fetch its content.
- 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.
- 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.
- Click on the "Apply changes" button in the bottom of the left menu. Your rule list is now available for use.
- 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 里使用规则列表来切换代理的教程。如果您通过规则列表中的链接来到此页面,请按照以下步骤使用规则列表。
- 如果因为网络问题安装失败,您也可以直接在 Github 上下载最新版安装包,然后按照下载页面上的说明手动安装。
- 在 SwitchyOmega 的选项页面中,点击左侧菜单中的一个自动切换情景模式,如名为“自动切换”的模式。
- 在“导入在线规则列表”一节中,点击“添加规则列表”按钮。
- 如果已经有一个在线规则列表了,您可以修改替换现有列表,或者在左侧菜单中点击“添加情景模式”按钮,新建一个 自动切换情景模式 。
- 在规则列表设置一节中,输入“规则列表网址”。这个网址填写您想要使用的规则列表的下载地址。
- 如果您不知道下载地址,可以直接将规则列表文本内容粘贴到“规则列表文本”中,然后跳到第6步。
- 按下 "立即更新情景模式" 按钮来下载规则列表。留意屏幕上方的下载成功或失败提示。
- 在上方的 "切换规则" 一节,写有“规则列表规则”的一行右侧,选择在规则列表匹配时使用的代理情景模式。确认一下规则列表前面的选择框处于勾选状态。
- 在下方一行的“默认规则”右侧,选择不匹配时使用的情景模式。如果不匹配时不希望使用代理,则请在这里选择“[直接连接]”选项。
- 点击左侧菜单最下方 “应用更改” 按钮。规则列表已经设置完毕,可以使用了。
- 在浏览器右上方的工具栏内,点击 SwitchyOmega 的圆环形图标,选中刚才编辑或新建的自动切换情景模式来激活。
对于任何网站,查看图标即可知道规则列表是否匹配。鼠标在图标上悬停则会显示悬停提示,上面会有具体的信息,包括规则列表匹配了哪一行等。