We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chobitsu/src/lib/nodeManager.ts
Lines 73 to 77 in 6156d2b
When node is iframe,i think the node.childNodes must be node.contentDocument.childNodes
iframe
node.childNodes
node.contentDocument.childNodes
export function getChildNodes(node: any, depth: number) { let childNodes = filterNodes(node.childNodes) if ( node.localName === 'iframe' && node?.contentDocument?.childNodes?.length > 0 ) { childNodes = filterNodes(node.contentDocument.childNodes) } return map(childNodes, node => wrap(node, { depth: depth - 1 })) }
// Electron need to turn off site-isolation app.commandLine.appendSwitch('disable-site-isolation-trials')
The text was updated successfully, but these errors were encountered:
No branches or pull requests
chobitsu/src/lib/nodeManager.ts
Lines 73 to 77 in 6156d2b
In mobile & electron
When node is
iframe
,i think thenode.childNodes
must benode.contentDocument.childNodes
The text was updated successfully, but these errors were encountered: