Skip to content

Instantly share code, notes, and snippets.

View Matsuuu's full-sized avatar
🐱
Not an actual cat

Matsu Matsuuu

🐱
Not an actual cat
View GitHub Profile
@Matsuuu
Matsuuu / Bookmarklet in bookmark format
Created November 5, 2024 08:17
Pokemoncard.io card preview Bookmarklet
javascript: (() => { function cardHoverListener() {
let hoveredCard = undefined;
const observer = new MutationObserver((mutationList) => {
for (const list of mutationList) {
if (list.type === "childList") {
for (const node of list.addedNodes) {
if (node.classList.contains("img-container")) {
setupListeners(node);
}