Untitled
unknown
plain_text
a year ago
450 B
2
Indexable
const reactElement = Insider.dom('.vtex-product-context-provider script[type="application/ld+json"]') .nodes[0] || {}; const reactSelector = (Object.keys(reactElement) || []).filter((props) => { return props.indexOf('__reactFiber') !== -1; })[0] || ''; (((((reactElement[reactSelector] || {}).return || {}).pendingProps || {}).product || {}) .categoryTree || [])
Editor is loading...
Leave a Comment