omdbButtonAdder

Adds "Rate on OMDB" button on osu! beatmap pages

Ajankohdalta 26.8.2023. Katso uusin versio.

Tekijä
cyndifusic
Arvostelut
0 0 0
Versio
1.05.1
Luotu
4.1.2023
Päivitetty
26.8.2023
Size
2,44 kt
Lisenssi
N/A
Käytössä

Adds a button on osu! beatmap pages that links directly to the beatmap's respective page on OMDB (https://omdb.nyahh.net/).

Button should take a second or two to show up.
If you are having issues getting this to work, contact me on Discord: cyndifusic#9323

v1.00 - initial
v1.01 - added site navigation compatibility, no need to refresh
v1.02 - changed button to contain "link" icon
v1.03 - patched infinite buttons glitch (the 1.02 code is still available here if you really want it)
v1.03.1 - removed debug console.log()s
v1.04 - fixed an issue where the favorite button didn't work with the script enabled
v1.05 - button appears on all modes now
v1.05.1 - i forgot to change all the conditions

TO DO:
- find a different way to check if the URL has changed because the current way is 1) super janky and 2) doesn't work if you press the back button