Greasy Fork is available in English.
Transform https://deeprockgalactic.wiki.gg pages into https://deeprock.wiki link
A browser userscript that generates shortened wiki links for the Deep Rock Galactic games.
Press Ctrl+C anywhere on a deeprockgalactic.wiki.gg page to copy a shortened deeprock.wiki link to your clipboard. The script only activates when no text is selected on the page.
The script uses the wiki's search functionality, so it is case-insensitive and will lead to a search page if the requested page does not exist.-
The script listens for the copy event on any deeprockgalactic.wiki.gg page. When you press Ctrl+C with no text selected, it detects which game wiki you are viewing from the URL path, extracts the current page title, generates the corresponding shortened URL, and fills the clipboard contents with the shortened link.
The shortened links use Cloudflare Rules to rewrite and redirect requests back to the correct page on deeprockgalactic.wiki.gg. The links resolve as follows:
/ (e.g., https://deeprock.wiki/), the link redirects to the respective game's main page.https://deeprockgalactic.wiki.gg/wiki/Special:Search?search={query} with the respective namespace and the value from the shortened URL.| Game | Original Domain | Shortened Domain |
|---|---|---|
| Deep Rock Galactic | deeprockgalactic.wiki.gg | deeprock.wiki |
| Deep Rock Galactic: Survivor | deeprockgalactic.wiki.gg/wiki/Survivor:* | survivor.deeprock.wiki |
| Deep Rock Galactic: Rogue Core | deeprockgalactic.wiki.gg/wiki/Rogue_Core:* | rc.deeprock.wiki |