Redirector
Extension Actions
Dynamic URL Redirector
🌟 Introduction
Redirector is a powerful and flexible browser extension that allows users to customize URL redirection rules. Using regular expressions, users can create complex redirection rules applicable to various websites and URL patterns.
✨ Key Features
• Create custom redirection rules using regular expressions
• Support for multiple redirection rules
• Real-time URL match testing
• Intuitive user interface for easy addition, editing, and deletion of rules
• Support for wildcards and complex URL patterns
🚀 How to Use
1. Click on the Redirector icon in the browser toolbar to open the options page
2. In the "Add a redirect URL" section:
- Enter the source URL pattern (using regular expression) in the left input box
- Enter the target URL in the right input box (you can use $1, $2, etc., to reference capture groups in the regular expression)
- Click the "Add" button to add a new rule
3. You can test your redirection rules in the "Test URL" section
4. Added rules will be displayed in the "Rules" list, where you can delete unnecessary rules at any time
📝 Example Rule
Regular expression is a powerful tool for matching URL patterns. Here are some examples:
- Convert short YouTube links to full format:
- Pattern: `https://youtu.be/(.*)`
- Redirect to: `https://www.youtube.com/watch?v=$1`
- The captured group `(.*`) becomes `$1` in the target URL
URLPattern is a more powerful and flexible tool for matching URL patterns. Here are some examples:
- Match YouTube short links with named groups:
- Pattern: `https://youtu.be/:id`
- Redirect to: `https://www.youtube.com/watch?v={{pathname.groups.id}}`
- The `:id` parameter is accessible via `{{pathname.groups.id}}`
🔒 Privacy
This extension processes all redirection rules locally and does not collect or transmit any user data.
📧 Contact
If you have any questions or suggestions, please join us at https://discord.gg/fErBc3wYrC
Latest reviews
- Connes,
- Simple and powerful, exactly what I was looking for! Allows me to smoothly handle internal URL changes, when redirects haven't been configured server-side.
- Aman
- The Best Redirector Extension.