Last active
February 16, 2025 15:54
-
-
Save Hans5958/47e4a145ca089bf02d87fd100a1e6d10 to your computer and use it in GitHub Desktop.
Simple script to find VocaDB/TouhouDB/UtaiteDB entries from URLs; a reverse search tool. Licensed under MIT.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:fetch('https://touhoudb.com/api/songs/findDuplicate?pv[]='+document.location).then((t=>t.json())).then((t=>{t.matches.length>0&&(document.location='https://touhoudb.com/S/'+t.matches[0].entry.id)})); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fetch("https://touhoudb.com/api/songs/findDuplicate?pv[]=" + document.location) | |
.then((res) => res.json()) | |
.then((res) => { | |
if (res.matches.length > 0) | |
document.location = "https://touhoudb.com/S/" + res.matches[0].entry.id | |
}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:fetch('https://utaitedb.net/api/songs/findDuplicate?pv[]='+document.location).then((t=>t.json())).then((t=>{t.matches.length>0&&(document.location='https://utaitedb.net/S/'+t.matches[0].entry.id)})); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fetch("https://utaitedb.net/api/songs/findDuplicate?pv[]=" + document.location) | |
.then((res) => res.json()) | |
.then((res) => { | |
if (res.matches.length > 0) | |
document.location = "https://utaitedb.net/S/" + res.matches[0].entry.id | |
}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:fetch('https://vocadb.net/api/songs/findDuplicate?pv[]='+document.location).then((t=>t.json())).then((t=>{t.matches.length>0&&(document.location='https://vocadb.net/S/'+t.matches[0].entry.id)})); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fetch("https://vocadb.net/api/songs/findDuplicate?pv[]=" + document.location) | |
.then((res) => res.json()) | |
.then((res) => { | |
if (res.matches.length > 0) | |
document.location = "https://vocadb.net/S/" + res.matches[0].entry.id | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment