Bandcamp Volume Bar

Adds a volume bar to Bandcamp

< Feedback on Bandcamp Volume Bar

Review: Good - script works

§
Posted: 2020-04-21

How to set the background color?

I like the blue, wanna use that.

RedcrafterAuthor
§
Posted: 2020-04-21

The background color of what the button or the slider?

§
Posted: 2020-04-22

Both. As seen on the description page. I thought you can color a box surrounding both bars.

RedcrafterAuthor
§
Posted: 2020-04-22
Edited: 2020-04-22

No that's the custom color of the Bandcamp page. For example https://danimalcannon.bandcamp.com/ I could add that but i feel like that's outside the scope of what the extension should do.

RedcrafterAuthor
§
Posted: 2020-04-22

If you want a custom box here you go

var testDiv = document.createElement("div");
testDiv.style.position = "absolute";
testDiv.style.width = "392px";
testDiv.style.height = "132px";
testDiv.style.top = "-8px";
testDiv.style.left = "-8px";
testDiv.style.backgroundColor = "#4AC2E6";

var ins = document.querySelector("#trackInfoInner");
ins.style.position = "relative";
ins.insertBefore(testDiv, ins.children[0]);

Just put that into the script in front of the style. You can use any color you want. Note that the box will still be there on pages with different background colors.

§
Posted: 2020-05-01

@Redcrafter said: No that's the custom color of the Bandcamp page. For example https://danimalcannon.bandcamp.com/ ahh, now I get it. Nice.

@Redcrafter said: If you want a custom box here you go... Thanks!

Post reply

Sign in to post a reply.