function setupShadowRoot() {
var shadowHost = document.createElement("asksteve-popups");
document.body.insertAdjacentElement("afterend", shadowHost);
try {
SHADOW_ROOT = shadowHost.attachShadow({mode: 'open'});
}
catch (e) {
console.log ("Error attaching a shadow root, adding a normal DIV instead", e);
SHADOW_ROOT = shadowHost;
}
// Create a link element
let link = document.createElement('link');
link.rel = 'stylesheet';
link.href = chrome.runtime.getURL("css/asksteve-shadow.css");
// Add the link element to the shadow root
SHADOW_ROOT.appendChild(link);
}