Bandcamp Volume Bar

Adds a volume bar to Bandcamp

< 脚本 Bandcamp Volume Bar 的反馈

评价:好评 - 脚本运行良好

§
发布于:2020-04-21

How to set the background color?

I like the blue, wanna use that.

Redcrafter作者
§
发布于:2020-04-21

The background color of what the button or the slider?

§
发布于:2020-04-22

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

Redcrafter作者
§
发布于:2020-04-22
编辑于: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.

Redcrafter作者
§
发布于: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.

§
发布于: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!

发布留言

登录以发布留言。