Skip to content

Instantly share code, notes, and snippets.

@dunglas
Created June 5, 2017 10:39
Show Gist options
  • Save dunglas/615bbeca34f91cf73a5426894be6dd20 to your computer and use it in GitHub Desktop.
Save dunglas/615bbeca34f91cf73a5426894be6dd20 to your computer and use it in GitHub Desktop.
Rescue all Lemmings of http://www.romainbrasier.fr/404/
new MutationObserver(mutation => {
for (let lemming of document.querySelectorAll('img[alt="lemming tombant"]')) {
lemming.dispatchEvent(new Event('mouseover', { bubbles: true }));
}
}).observe(document, {childList: true, subtree: true});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment