Skip to content

Instantly share code, notes, and snippets.

@Scrxtchy
Created November 28, 2025 08:46
Show Gist options
  • Select an option

  • Save Scrxtchy/933eb44f390c42333933c21ecdaeae39 to your computer and use it in GitHub Desktop.

Select an option

Save Scrxtchy/933eb44f390c42333933c21ecdaeae39 to your computer and use it in GitHub Desktop.
GCM Jackets in News Posts
// ==UserScript==
// @name GCM Jackets in News Posts
// @namespace Violentmonkey Scripts
// @include /^https:\/\/info-(chunithm|maimai|ongeki)\.sega\.(com|jp)\/\d+/
// @grant none
// @version 1.0
// @run-at document-end
// @author Scratch
// @description 28/11/2025, 7:22:16 pm
// ==/UserScript==
let game = window.location.hostname.split('.')[0].substr(5)
if(document.querySelectorAll('div.articleBox') !== []) {
fetch(`https://dp4p6x0xfi5o9.cloudfront.net/${game}/data.json`)
.then(r => r.json())
.then(x => {
for (let c of document.getElementsByTagName("td")) {
let s = x.songs.find(e => e.title == (c.innerText.match(/.+?\[.\]/) ? c.innerText.trim().slice(0, -3) : c.innerText.trim()) );
if (s) {
c.innerHTML += `<br><img src='https://dp4p6x0xfi5o9.cloudfront.net/${game}/img/cover/${s.imageName}'/>`;
}
}
})
.catch(err => console.error("Failed to load data:", err));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment