-
-
Notifications
You must be signed in to change notification settings - Fork 60
Custom patterns
The Patterns checker module allows you to create custom patterns and redirections that can even be applied automatically.
You can share them by copying the json, and use them by pasting it in the module settings inside the app.
Here is a list of user-generated patterns that you may find interesting:
urlChecker-patternchecker-config: An external user-generated repository with multiple patterns.
Fandom ➔ BreezWiki
Replace Fandom links with BreezeWiki.
Uses the new field 'excludeRegex':
"Fandom ➔ BreezeWiki": {
"regex": "^https?:\/\/([a-z0-9-]+)\\.fandom\\.com\/(.*)",
"excludeRegex": "^https?:\/\/www\\.fandom\\.com\/",
"replacement": "https:\/\/breezewiki.com\/$1\/$2",
"enabled": "false"
}
By the-blank-x
Twitter ➔ FxTwitter
Replaces Twitter / X links with FxTwitter.
Can also be changed to fixupx.com (shorter) or vxtwitter.com
"Twitter ➔ FxTwitter": {
"regex": "^https?://(?:[a-z0-9-]+\\.)*?(?:twitter|x).com/(.*)",
"replacement": "https://fxtwitter.com/$1"
}
By RuiNtD.
TikTok ➔ Vxtiktok
Replaces TikTok links with vxtiktok.
"TikTok ➔ VxTikTok": {
"regex": "^https?://(?:[a-z0-9-]+\\.)*?tiktok.com/(.*)",
"replacement": "https://vxtiktok.com/$1"
}
By RuiNtD.
Search on Google
"Search on google": {
"encode": true,
"regex": ".*",
"replacement": "https:\/\/www.google.com\/search?q=$0"
}
Search on DuckDuckGo
"Search on google": {
"encode": true,
"regex": ".*",
"replacement": "https:\/\/duckduckgo.com?q=$0"
}
Try to download using cobalt.tools
Download video or audio using cobalt.tools.
"Try to download using cobalt.tools": {
"regex": "^https?:\/\/(?!cobalt\\.tools)",
"replacement": "https:\/\/cobalt.tools\/#$0"
}
Based on suggestion by squeak9
Check with urlscan.io
Scan the url with urlscan.io.
"Check with urlscan.io": {
"regex": "^https?:\/\/(?!urlscan\\.io)",
"replacement": "https:\/\/urlscan.io\/#$0"
}
Based on suggestion by Antsy4904, (and rediscovered by squeak9)
Did you created other useful patterns and want to share them here? Just copy/paste it in a public place (gist, any pastebin-related site, a blog...) and tell us!
Or, upload them to urlChecker-patternchecker-config