diff options
| author | Thomas Ulmer <thomasmulmer02@gmail.com> | 2026-02-04 14:24:16 -0800 |
|---|---|---|
| committer | Thomas Ulmer <thomasmulmer02@gmail.com> | 2026-02-04 14:24:16 -0800 |
| commit | 9139a1b136fa2b5adfcac0ac09a4f61aa1ee1ff4 (patch) | |
| tree | de82bc4776b87f1fbb86f14b4a15d35d009ddd28 /vimb/scripts.js | |
| parent | a9bf8f30c746f5b28bb7eb6938e8390127081a32 (diff) | |
full reorg
Diffstat (limited to 'vimb/scripts.js')
| -rw-r--r-- | vimb/scripts.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/vimb/scripts.js b/vimb/scripts.js deleted file mode 100644 index b0698dc..0000000 --- a/vimb/scripts.js +++ /dev/null @@ -1,8 +0,0 @@ -(function() { - const pattern = /https?:\/\/www.reddit.com/; // Change this to match the URL pattern you want - const currentUrl = window.location.href; - const redirectTo = currentUrl.replace("www", "old"); // Set the URL to redirect to - if (pattern.test(currentUrl)) { - window.location.replace(redirectTo); - } -})(); |
