feat: replace data-browser-use-ignore with data-page-agent-ignore

This commit is contained in:
Simon
2026-03-05 16:24:50 +08:00
parent ff31b0c03e
commit 76509d93f0
3 changed files with 3 additions and 1 deletions

View File

@@ -1446,7 +1446,7 @@ export default (
/**
* @edit add `data-browser-use-ignore` attribute
*/
if (node.dataset?.browserUseIgnore === 'true') {
if (node.dataset?.browserUseIgnore === 'true' || node.dataset?.pageAgentIgnore === 'true') {
return null // Skip this node and its children
}