Skip to content

Instantly share code, notes, and snippets.

@Hri7566
Created June 30, 2024 10:20
Show Gist options
  • Save Hri7566/b6168e4cfa9fee3960409828ddcebede to your computer and use it in GitHub Desktop.
Save Hri7566/b6168e4cfa9fee3960409828ddcebede to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name Back in my day
// @namespace Violentmonkey Scripts
// @match https://multiplayerpiano.net/*
// @grant none
// @version 1.0.0
// @author Hri7566
// @description 6/30/2024, 6:12:12 AM
// ==/UserScript==
// Back in my day, we had a piano that stood up against the wall, and everyone would sit around it and take turns
$(document.body).append(`
<div id="back-in-my-day-1"></div>
<div id="back-in-my-day-2"></div>
<style>
#back-in-my-day-1 {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
backdrop-filter: grayscale(1.0);
z-index: 99999999;
pointer-events: none;
}
#back-in-my-day-2 {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 999999999;
pointer-events: none;
background: #ff660010;
}
</style>
`);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment