MCPcopy Create free account
hub / github.com/garrytan/gstack / ensureContainer

Function ensureContainer

extension/content.js:53–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51}
52
53function ensureContainer() {
54 if (overlayContainer) return overlayContainer;
55 overlayContainer = document.createElement('div');
56 overlayContainer.id = 'gstack-ref-overlays';
57 overlayContainer.style.cssText = 'position: fixed; top: 0; left: 0; width: 0; height: 0; z-index: 2147483647; pointer-events: none;';
58 document.body.appendChild(overlayContainer);
59 return overlayContainer;
60}
61
62function clearOverlays() {
63 if (overlayContainer) {

Callers 2

renderRefBadgesFunction · 0.85
renderRefPanelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected