Created
May 5, 2018 12:32
-
-
Save azyu/75a53f75f1b753418df65e599078a65d to your computer and use it in GitHub Desktop.
Tampermonkey: THE IDOLMASTER SHINY COLORS - background sound enabler
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name THE IDOLMASTER SHINY COLORS - background sound enabler | |
// @namespace https://twitter.com/_uyza_ | |
// @version 0.1 | |
// @description Playing sound when browser loses focus | |
// @author Azyu | |
// @match https://shinycolors.enza.fun/* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
window.addEventListener("blur", function (e) { | |
e.stopImmediatePropagation(); | |
}, false); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment