Skip to content

Instantly share code, notes, and snippets.

@Maxr1998
Last active May 12, 2023 23:19
Show Gist options
  • Save Maxr1998/d376ccbd08eade9f6551220de358644c to your computer and use it in GitHub Desktop.
Save Maxr1998/d376ccbd08eade9f6551220de358644c to your computer and use it in GitHub Desktop.
// ==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