Skip to content

Instantly share code, notes, and snippets.

@Hans5958
Last active February 16, 2025 15:54
Show Gist options
  • Save Hans5958/47e4a145ca089bf02d87fd100a1e6d10 to your computer and use it in GitHub Desktop.
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.
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)}));
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
})
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)}));
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
})
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)}));
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