tumpio / requestcontrol

A Firefox extension
https://addons.mozilla.org/addon/requestcontrol
Mozilla Public License 2.0
170 stars 24 forks source link

How do I use redirects?! #176

Open TsukiZero opened 1 month ago

TsukiZero commented 1 month ago

I want a redirect from https://www.twitch.tv/directory/following to https://www.twitch.tv/directory/following/live But I can't make heads nor tails of the very confusing manual!

geeknik commented 1 month ago

Follow these steps:

  1. Open the Request Control extension settings in Firefox.

  2. Click on "Create Rule" to create a new rule.

  3. Set the rule type to "Redirect" as we want to rewrite the URL.

  4. In the "Request URL" field, enter the following pattern:

    https://www.twitch.tv/directory/following
  5. In the "Redirect URL" field, enter:

    https://www.twitch.tv/directory/following/live
  6. Set the "Apply on" option to "Main document" to ensure it only applies to the main page load.

  7. Give your rule a name, such as "Twitch Following to Live".

  8. Save the rule.

TsukiZero commented 1 month ago

"Request URL" is not a field.