Close Menu

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    This massive 49-inch ultrawide OLED monitor is just $900

    Google faces lawsuit over Gemini AI’s role in man’s suicide

    Big decision? Here’s the AI prompt to use

    Facebook X (Twitter) Instagram
    • Artificial Intelligence
    • Business Technology
    • Cryptocurrency
    • Gadgets
    • Gaming
    • Health
    • Software and Apps
    • Technology
    Facebook X (Twitter) Instagram Pinterest Vimeo
    Tech AI Verse
    • Home
    • Artificial Intelligence

      What the polls say about how Americans are using AI

      February 27, 2026

      Tensions between the Pentagon and AI giant Anthropic reach a boiling point

      February 21, 2026

      Read the extended transcript: President Donald Trump interviewed by ‘NBC Nightly News’ anchor Tom Llamas

      February 6, 2026

      Stocks and bitcoin sink as investors dump software company shares

      February 4, 2026

      AI, crypto and Trump super PACs stash millions to spend on the midterms

      February 2, 2026
    • Business

      Google releases Gemini 3.1 Flash Lite at 1/8th the cost of Pro

      March 4, 2026

      Huawei Watch GT Series

      March 4, 2026

      Weighing up the enterprise risks of neocloud providers

      March 3, 2026

      A stolen Gemini API key turned a $180 bill into $82,000 in two days

      March 3, 2026

      These ultra-budget laptops “include” 1.2TB storage, but most of it is OneDrive trial space

      March 1, 2026
    • Crypto

      Banks Respond to Kraken’s Federal Reserve Access as Trump Sides with Crypto

      March 4, 2026

      Hyperliquid and DEXs Break the Top 10 — Is the CEX Era Ending?

      March 4, 2026

      Consensus Hong Kong 2026: The Institutional Turn 

      March 4, 2026

      New Crypto Mutuum Finance (MUTM) Reports V1 Protocol Progress as Roadmap Enters Phase 3

      March 4, 2026

      Bitcoin Short Sellers Caught Off Guard in New White House Move

      March 4, 2026
    • Technology

      This massive 49-inch ultrawide OLED monitor is just $900

      March 7, 2026

      Google faces lawsuit over Gemini AI’s role in man’s suicide

      March 7, 2026

      Big decision? Here’s the AI prompt to use

      March 7, 2026

      Keychron’s new ultra-slim wireless keyboard folds in half

      March 7, 2026

      Newegg’s $7,500 RTX 5090 card is a sad, depressing omen

      March 6, 2026
    • Others
      • Gadgets
      • Gaming
      • Health
      • Software and Apps
    Check BMI
    Tech AI Verse
    You are at:Home»Technology»Browser extension (Firefox, Chrome, Opera, Edge) to redirect URLs based on regex
    Technology

    Browser extension (Firefox, Chrome, Opera, Edge) to redirect URLs based on regex

    TechAiVerseBy TechAiVerseJune 1, 2025No Comments3 Mins Read5 Views
    Facebook Twitter Pinterest Telegram LinkedIn Tumblr Email Reddit
    Browser extension (Firefox, Chrome, Opera, Edge) to redirect URLs based on regex
    Share
    Facebook Twitter LinkedIn Pinterest WhatsApp Email

    Browser extension (Firefox, Chrome, Opera, Edge) to redirect URLs based on regex

    Description

    Web browser extension (Firefox, Vivaldi, Chrome, Opera, Edge) to redirect URLs based on regex or wildcard patterns.

    Tribute

    In loving memory of Einar Egilsson, who gave us Redirector and selflessly nurtured it for many years. We miss you Einar, and will always remember your kindness and generosity.

    Download Links

    • Firefox
    • Google Chrome and Vivaldi

    Examples

    De-mobilizer

    • Example URL: https://en.m.wikipedia.org/
    • Include pattern: ^(https?://)([a-z0-9-]*.)m(?:obile)?.(.*)
    • Redirect to: $1$2$3
    • Pattern type: Regular Expression
    • Description: Always show the desktop version of websites

    AMP redirect

    • Example URL: https://www.google.com/amp/www.example.com/amp/document
    • Include pattern: ^(?:https?://)www.(?:google|bing).com/amp/(?:s/)?(.*)
    • Redirect to: https://$1
    • Pattern type: Regular Expression
    • Description: AMP is bad: https://80×24.net/post/the-problem-with-amp/

    Doubleclick escaper

    • Example URL: https://ad.doubleclick.net/ddm/trackclk/N135005.2681608PRIVATENETWORK/B20244?https://www.example.com
    • Include pattern: ^(?:https?://)ad.doubleclick.net/.*?(http?s://.*)
    • Redirect to: $1
    • Pattern type: Regular Expression
    • Description: Remove doubleclick link tracking / fix problems with doubleclick host-based blocking

    YouTube Shorts to YouTube

    • Example URL: https://www.youtube.com/shorts/video-id
    • Include pattern: ^(?:https?://)(?:www.)?youtube.com/shorts/([a-zA-Z0-9_-]+)(.*)
    • Redirect to: https://www.youtube.com/watch?v=$1$2
    • Pattern type: Regular Expression
    • Description: Redirect YouTube Shorts to regular YouTube

    Fun with !bangs

    What are bangs?: https://duckduckgo.com/bangs

    Use DuckDuckGo.com !bangs on Google

    • Example URL: https://www.google.com/search?&ei=-FvkXcOVMo6RRwW5p5DgBg&q=asdfasdf%21+sadfas&oq=%21asdfasdf+sadfas&gs_l=asdfsadfafsgaf
    • Include pattern: ^(?:https?://)(?:www.)google.(?:com|au|de|co.uk)/search?(?:.*)?(?:oq|q)=([^&]*+)?((?:%21|!)[^&]*)
    • Redirect to: https://duckduckgo.com/?q=$1$2
    • Pattern type: Regular Expression
    • Description: Redirect any Google query with a !bang to DDG

    Custom DuckDuckGo.com !bangs

    DDG !example Base

    • Example URL: https://duckduckgo.com/?q=!example&get=other
    • Include pattern: ^(?:https?://)(?:.*.)?duckduckgo.com/?q=(?:%21|!)example(?=[^+]|$)(?=W|$)
    • Redirect to: https://example.com/
    • Pattern type: Regular Expression
    • Description: Redirect to the base site when !bang is the only search parameter

    DDG !example Search

    • Example URL: https://duckduckgo.com/?q=searchterm+!example+searchterm2&get=other
    • Include pattern: ^(?:https?://)(?:.*.)?duckduckgo.com/?q=(.*+)?(?:(?:%21|!)example)(?:+([^&?#]*))?(?:W|$)
    • Redirect to: https://example.com/?query=$1$2
    • Pattern type: Regular Expression
    • Description: Redirect to custom site search

    DDG !ghh git-history

    • Example URL: https://duckduckgo.com/?q=!ghh+https%3A%2F%2Fgithub.com%2Fbabel%2Fbabel%2Fblob%2Fmaster%2Fpackages%2Fbabel-core%2FREADME.md&adfasfasd
    • Include pattern: ^(?:https?://)duckduckgo.com/?q=(?:(?:%21|!)ghh+)(?:.*)(github|gitlab|bitbucket)(?:.org|.com)(.*?(?=&))
    • Redirect to: https://$1.githistory.xyz$2
    • Pattern type: Regular Expression
    • Description: Create new !ghh bang that redirects to https://githistory.xyz
    • Advanced:
      • Process matches: URL decode

    Fast DuckDuckGo.com !bangs

    Go directly to frequently used DuckDuckGo bangs to avoid intermediary network requests.

    • Example URL: https://duckduckgo.com/?q=foo+bar+%21google+test+bar
    • Include pattern: ^https://duckduckgo.com/?q=(.*)+(?:%21|!)googleb+(.*?)(?:&|$)
    • Redirect to: https://google.com/search?hl=en&q=$1+$2
    • Pattern type: Regular Expression
    • Description: DuckDuckGo → Google !bang shortcut (prefix AND suffix)
    • Pattern Description: Avoid extraneous + in URL with two separate patterns
    • Example URL: https://duckduckgo.com/?q=foo+bar+%21google
    • Include pattern: ^https://duckduckgo.com/?q=(.*?)+?(?:%21|!)googleb+?(.*?)(?:&|$)
    • Redirect to: https://google.com/search?hl=en&q=$1$2
    • Pattern type: Regular Expression
    • Description: DuckDuckGo → Google !bang shortcut (prefix OR suffix)
    • Pattern Description: Avoid extraneous + in URL with two separate patterns

    Dark Theme

    If you are a Firefox user and use a dark theme, you can add these lines to your userChrome.css file to make Redirector’s extension button more visible:

    /* Redirector button for dark Firefox themes */
    toolbarbutton#toggle-button--redirectoreinaregilssoncom-redirector[image*="active"] { filter: invert(1) brightness(6); }
    toolbarbutton#toggle-button--redirectoreinaregilssoncom-redirector[image*="disabled"] { filter: invert(1) brightness(2.5); }

    If you don’t know what the userChrome.css file is, or how to edit it, please look it up on a Firefox forum instead of asking about it in this repository. Thanks!

    Share. Facebook Twitter Pinterest LinkedIn Reddit WhatsApp Telegram Email
    Previous ArticleA Beautiful Technique for Some XOR Related Problems
    Next Article An optimizing compiler doesn’t help much with long instruction dependencies
    TechAiVerse
    • Website

    Jonathan is a tech enthusiast and the mind behind Tech AI Verse. With a passion for artificial intelligence, consumer tech, and emerging innovations, he deliver clear, insightful content to keep readers informed. From cutting-edge gadgets to AI advancements and cryptocurrency trends, Jonathan breaks down complex topics to make technology accessible to all.

    Related Posts

    This massive 49-inch ultrawide OLED monitor is just $900

    March 7, 2026

    Google faces lawsuit over Gemini AI’s role in man’s suicide

    March 7, 2026

    Big decision? Here’s the AI prompt to use

    March 7, 2026
    Leave A Reply Cancel Reply

    Top Posts

    Ping, You’ve Got Whale: AI detection system alerts ships of whales in their path

    April 22, 2025705 Views

    Lumo vs. Duck AI: Which AI is Better for Your Privacy?

    July 31, 2025291 Views

    6.7 Cummins Lifter Failure: What Years Are Affected (And Possible Fixes)

    April 14, 2025165 Views

    6 Best MagSafe Phone Grips (2025), Tested and Reviewed

    April 6, 2025125 Views
    Don't Miss
    Technology March 7, 2026

    This massive 49-inch ultrawide OLED monitor is just $900

    This massive 49-inch ultrawide OLED monitor is just $900 Image: MSI I like ’em big.…

    Google faces lawsuit over Gemini AI’s role in man’s suicide

    Big decision? Here’s the AI prompt to use

    Keychron’s new ultra-slim wireless keyboard folds in half

    Stay In Touch
    • Facebook
    • Twitter
    • Pinterest
    • Instagram
    • YouTube
    • Vimeo

    Subscribe to Updates

    Get the latest creative news from SmartMag about art & design.

    About Us
    About Us

    Welcome to Tech AI Verse, your go-to destination for everything technology! We bring you the latest news, trends, and insights from the ever-evolving world of tech. Our coverage spans across global technology industry updates, artificial intelligence advancements, machine learning ethics, and automation innovations. Stay connected with us as we explore the limitless possibilities of technology!

    Facebook X (Twitter) Pinterest YouTube WhatsApp
    Our Picks

    This massive 49-inch ultrawide OLED monitor is just $900

    March 7, 20260 Views

    Google faces lawsuit over Gemini AI’s role in man’s suicide

    March 7, 20262 Views

    Big decision? Here’s the AI prompt to use

    March 7, 20262 Views
    Most Popular

    7 Best Kids Bikes (2025): Mountain, Balance, Pedal, Coaster

    March 13, 20250 Views

    VTOMAN FlashSpeed 1500: Plenty Of Power For All Your Gear

    March 13, 20250 Views

    Best TV Antenna of 2025

    March 13, 20250 Views
    © 2026 TechAiVerse. Designed by Divya Tech.
    • Home
    • About Us
    • Contact Us
    • Privacy Policy
    • Terms & Conditions

    Type above and press Enter to search. Press Esc to cancel.