Extending Spotify's web volume slider

Having to choose between “too loud” and “too quiet” sucks. Unfortunately the Spotify web UI has an annoyingly short volume slider. Fortunately that’s easy to fix with a bookmarklet.

Before:

After:

Drag this bookmarklet to your browser bookmark bar, and click on it to expand the volume slider. The code is pretty straightforward, it just changes the CSS slightly.

Spotify volume

Here’s the code in more understandable JavaScript:

function() { 
    var a = document.createElement("style"), b;
    document.head.appendChild(a); 
    b=a.sheet;
    b.insertRule('.volume-bar { flex: 0 1 350px }', 0);
}

Comments / questions

There's currently no commenting functionality here. If you'd like to comment, please use Twitter and @me there. Thanks!

Tweet about this - and/or - search for latest comments / top comments

Related pages