• Welcome to Touhou Wiki!
  • Registering is temporarily disabled. Check in our Discord server to request an account and for assistance of any kind.

User: mr.deagle

From Touhou Wiki
Revision as of 07:51, 16 September 2020 by Mr.deagle (talk | contribs) (Retire the outdated list)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

I'm a Touhou music fan who also happens to be a web developer, programmer and experienced MediaWiki user. My other interests include visual novels, anime, and Vocaloid music.

Scripts

Song translations generator

Worked on Antinomy of Common Flowers/Music.

(function () {
	var rows = document.evaluate("//div[@id='mf-section-1']//tr[td[3]]", document),
		translations = {},
		row;

	while (row = rows.iterateNext()) {
		let $row = $(row);
		translations[$row.children('td:eq(1)').text().trim()] = `${$row.children('td:eq(2)').text().trim()} [${$row.children('td:eq(0)').text().trim()}]`;
	}

	window.alert(JSON.stringify(translations));
	return translations;
})();

Kanji isolator

Bookmarklet for copypasting original lyrics.

javascript:(() => {const style = document.createElement('style'); document.body.appendChild(style); style.sheet.insertRule('td:nth-child(n+2), rt { display: none !important; }')})();