MCPcopy Create free account
hub / github.com/Eltaurus-Lt/CourseDump2022 / progressBarContainer

Function progressBarContainer

progressbars.js:1–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1function progressBarContainer() {
2 const containerId = 'MemDump_progressContainer';
3
4 const existingContainer = document.getElementById(containerId);
5 if (existingContainer) return existingContainer;
6
7 const progress_bar_container = document.createElement("div");
8 progress_bar_container.id = containerId;
9
10 try {
11 document.querySelector(".rebrand-header-root").prepend(progress_bar_container);
12 } catch (err) {
13 document.body.prepend(progress_bar_container);
14 }
15
16 return progress_bar_container;
17}
18
19function progressBar(barId, padding = true) {
20 const existingBar = document.getElementById(barId);

Callers 2

progressBarFunction · 0.85
batchDownloadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected