Better Curseforge Legacy/New Switch Button

Instead of the useless home pages, "change to legacy/new site" button now redirects to the current page of the legacy or new site.

Δημιουργός
AichiChikuwa
Ημερήσιες εγκαταστάσεις
0
Σύνολο εγκαταστάσεων
7
Βαθμολογίες
0 0 0
Έκδοση
1.6
Δημιουργήθηκε την
04/06/2024
Ενημερώθηκε την
04/06/2024
Άδεια
CC BY 4.0
Εφαρμόζεται σε

# Better Curseforge Legacy/New Switch Button by Aichi_Chikuwa

## Overview

This userscript enhances the "Change to Legacy/New Site" button on CurseForge by redirecting to the corresponding page on the legacy or new site, rather than the homepage.

## Features

- Redirects "Change to Legacy/New Site" button to the current page on the corresponding site version.
- Handles both www.curseforge.com and legacy.curseforge.com URLs.
- Also Removes the (useless) "Surprise me" button and "Get CurseForge App" button on www.curseforge.com.
- Monitors URL changes and updates the button accordingly, then automatically updates the button text to indicate the correct site version.