MCPcopy Create free account
hub / github.com/zxlie/FeHelper / isVisibleElement

Function isVisibleElement

apps/json-format/content-script.js:1208–1208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1206 }
1207 };
1208 let isVisibleElement = elm => elm && elm.nodeType === Node.ELEMENT_NODE && (elm.offsetHeight + elm.offsetWidth !== 0);
1209
1210 addCandidate(dom && dom.textContent);
1211

Callers 1

_getJsonContentFromDOMFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected