I believe the attached is properly programmed and that the recalcHeight() feature needs a little attention for sidebar elements? Sorry for this crappy format:
let content = "Darkweb"; let sidebar = doc.querySelector(".sbitem._darkweb") || createSidebarItem("Darkweb", "", "\ueabe", "_darkweb"); sidebar.body.innerHTML = content;
.
.
let content = "TOR(200k): " + haveTor + "";
content += " SSH(500k): " + haveSSH + ""
.
.
sidebar.body.innerHTML = content;
sidebar.recalcHeight();`
darkweb2.zip
I believe the attached is properly programmed and that the recalcHeight() feature needs a little attention for sidebar elements? Sorry for this crappy format:
let content = "Darkweb"; let sidebar = doc.querySelector(".sbitem._darkweb") || createSidebarItem("Darkweb", "", "\ueabe", "_darkweb"); sidebar.body.innerHTML = content;.
.
let content = "TOR(200k): " + haveTor + "";
content += " SSH(500k): " + haveSSH + ""
.
.
sidebar.body.innerHTML = content;
sidebar.recalcHeight();`
darkweb2.zip