Last active
May 12, 2023 23:19
-
-
Save Maxr1998/d376ccbd08eade9f6551220de358644c to your computer and use it in GitHub Desktop.
This file contains hidden or 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 Qobuz audio volume limiter | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Limits the usually way too load audio previews on Qobuz to a more sensible value | |
// @author Maxr1998 | |
// @match https://www.qobuz.com/*/album/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=qobuz.com | |
// @downloadURL https://gist.githubusercontent.com/Maxr1998/d376ccbd08eade9f6551220de358644c/raw/242f1192b82a601028d33892edd10a19e337adad/qobuz_audio_volume_limiter.user.js | |
// @grant none | |
// @license GNU GPLv3 | |
// ==/UserScript== | |
window.addEventListener('load', function() { | |
const audioElements = document.getElementsByTagName('audio'); | |
for (let element of audioElements) { | |
element.volume = 0.05; | |
} | |
}, false); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment