Skip to content

Instantly share code, notes, and snippets.

@limkhashing
Last active September 25, 2025 15:30
Show Gist options
  • Save limkhashing/a93ec6cf2b1dc5dc12fc3229fa51a75f to your computer and use it in GitHub Desktop.
Save limkhashing/a93ec6cf2b1dc5dc12fc3229fa51a75f to your computer and use it in GitHub Desktop.

Revisions

  1. limkhashing revised this gist Sep 25, 2025. 1 changed file with 18 additions and 1 deletion.
    19 changes: 18 additions & 1 deletion Redirector.json
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    {
    "createdBy": "Redirector v3.5.3",
    "createdAt": "2025-09-04T17:24:41.000Z",
    "createdAt": "2025-09-25T15:30:27.101Z",
    "redirects": [
    {
    "description": "Force WhatsApp links to open in WhatsApp Web",
    @@ -36,6 +36,23 @@
    "main_frame",
    "stylesheet"
    ]
    },
    {
    "description": "Redirect WhatsApp group invites to WhatsApp Web",
    "exampleUrl": "https://chat.whatsapp.com/C3w9NuZgBUsAnCPUeS08t2",
    "exampleResult": "https://web.whatsapp.com/accept?code=C3w9NuZgBUsAnCPUeS08t2",
    "error": null,
    "includePattern": "^https:\\/\\/chat\\.whatsapp\\.com\\/([A-Za-z0-9_-]+)",
    "excludePattern": "",
    "patternDesc": "Matches chat.whatsapp.com/<invite_code> links",
    "redirectUrl": "https://web.whatsapp.com/accept?code=$1",
    "patternType": "R",
    "processMatches": "noProcessing",
    "disabled": false,
    "grouped": false,
    "appliesTo": [
    "main_frame"
    ]
    }
    ]
    }
  2. limkhashing revised this gist Sep 4, 2025. 1 changed file with 19 additions and 1 deletion.
    20 changes: 19 additions & 1 deletion Redirector.json
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    {
    "createdBy": "Redirector v3.5.3",
    "createdAt": "2025-08-31T15:48:55.279Z",
    "createdAt": "2025-09-04T17:24:41.000Z",
    "redirects": [
    {
    "description": "Force WhatsApp links to open in WhatsApp Web",
    @@ -18,6 +18,24 @@
    "appliesTo": [
    "main_frame"
    ]
    },
    {
    "description": "Redirect Telegram links to Telegram Web",
    "exampleUrl": "https://t.me/kslim888",
    "exampleResult": "https://web.telegram.org/k/#@kslim888",
    "error": null,
    "includePattern": "https://t.me/*",
    "excludePattern": "",
    "patternDesc": "Matches any https://t.me/<username or channel> link and opens it in Telegram Web",
    "redirectUrl": "https://web.telegram.org/k/#@$1",
    "patternType": "W",
    "processMatches": "noProcessing",
    "disabled": false,
    "grouped": false,
    "appliesTo": [
    "main_frame",
    "stylesheet"
    ]
    }
    ]
    }
  3. limkhashing created this gist Aug 31, 2025.
    23 changes: 23 additions & 0 deletions Redirector.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,23 @@
    {
    "createdBy": "Redirector v3.5.3",
    "createdAt": "2025-08-31T15:48:55.279Z",
    "redirects": [
    {
    "description": "Force WhatsApp links to open in WhatsApp Web",
    "exampleUrl": "https://api.whatsapp.com/send?phone=60123456789",
    "exampleResult": "https://web.whatsapp.com/send?phone=60123456789",
    "error": null,
    "includePattern": "https://api.whatsapp.com/*",
    "excludePattern": "",
    "patternDesc": "Match all api.whatsapp.com links",
    "redirectUrl": "https://web.whatsapp.com/$1",
    "patternType": "W",
    "processMatches": "noProcessing",
    "disabled": false,
    "grouped": false,
    "appliesTo": [
    "main_frame"
    ]
    }
    ]
    }