aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitoffthelawn <Gitoffthelawn@users.noreply.github.com>2023-01-16 23:31:57 -0800
committerGitHub <noreply@github.com>2023-01-16 23:31:57 -0800
commitc9a2713d6e0949cd7d9732e9e3486a6fd78161b1 (patch)
tree09749e7fa329692de7e3fc85b7ff6776512caa6e
parente8f36263f840c7de8550d8b2ef7036967f960ba2 (diff)
parent0a6e086af693ec2f7196e3a0f86c1ffd184104a6 (diff)
Merge pull request #324 from XPhyro/readme-example-yt-shorts
readme: add example for YouTube Shorts
-rw-r--r--README.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/README.md b/README.md
index 4d41396..ff283e7 100644
--- a/README.md
+++ b/README.md
@@ -34,6 +34,13 @@ Opera extension is no longer present (as of 2023/01/16)
- 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 YouTube
+
### Fun with !bangs
What are bangs?: <https://duckduckgo.com/bangs>