2.3 KiB
omit
/^https?://(www.)+?/ => "https://" //index.html?$/ => "" /[&?]utm_\w+=/ and other tracking
shorteners
npm-keyword
regex String.raw^https?://(www.)?npmjs.org/browse/keyword/
short "npm:"
long "https://npmjs.org/browse/keyword/%s"
firefox-addon
regex String.raw^https?://addons.mozilla.org/(en-US|de|[\w-]{2,10})/firefox/addon/
short "moz:"
long "https://addons.mozilla.org/firefox/addon/%s/"
github-main
regex String.raw^https?://(www.)?github.com/
short "gh:"
long "https://github.com/"
github-gist
url "https://gist.github.com/"
youtube-video
regex String.raw^https?://((www.)?youtube.com/watch?v=|youtu.be/)
short "yt:"
long "https://youtu.be/"
youtube-channel
regex String.raw^https?://(www.)?youtube.com/channel/
short "yt:ch:"
long "https://youtube.com/channel/"
youtube-user
regex String.raw^https?://(www.)?youtube.com/user/
short "yt:u:"
long "https://youtube.com/user/"
youtube-legacy-channel
regex String.raw^https?://(www.)?youtube.com/c/
short "yt:c:"
long "https://youtube.com/c/"
youtube-playlist
regex String.raw^https?://(www.)?youtube.com/playlist?list=
short "yt:pl:"
long "https://youtube.com/playlist?list="
youtube-misc-url
regex String.raw^https?://((www.)?youtube.com/watch?v=|youtu.be/)
short "yt:/"
long "https://youtube.com/%s"
imdb-title
regex String.raw^https?://(www.)?imdb.com/title/
short "imdb:"
long "https://imdb.com/title/"
reddit-user
regex String.raw^https?://((www|old|new|np).)?reddit.com/(u|user)/
short "r:u:"
long "https://reddit.com/u/"
reddit-sub
regex String.raw^https?://((www|old|new|np).)?reddit.com/r/
short "r:"
long "https://reddit.com/r/"
reddit-other
regex String.raw^https?://((www|old|new|np).)?reddit.com/
short "r:/"
long "https://reddit.com/"
reddit-shortened
regex String.raw^https?://redd.it/
short "r:/post/"
long "https://reddit.com/"
google-search
regex String.raw^https?://(www.)?google.com/search?q=
short "g:"
long "https://google.com/search?q="
steam https://store.steampowered.com/app/%s
pornhub http://pornhub.com/view_video.php?viewkey=%s
vk https://vk.com/%s
pixiv https://pixiv.net/en/users/%s
wiki https://en.wikipedia.org/wiki/%s