-
Notifications
You must be signed in to change notification settings - Fork 29
Page collection support shadow dom and frames #2002
New issue
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
Conversation
✅ Deploy Preview for content-scope-scripts ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Temporary Branch UpdateThe temporary branch has been updated with the latest changes. Below are the details:
Please use the above install command to update to the latest version. |
[Beta] Generated file diffTime updated: Fri, 10 Oct 2025 13:51:01 GMT Apple
File has changed Integration
File has changed Windows
File has changed |
@shakyShane one more, hopefully that's it for edge cases. As this is internal only currently I'll be writing tests soon for the whole process but continue to just validate on my machine™. |
Asana Task/Github Issue: https://app.asana.com/1/137249556945/project/72649045549333/task/1211605042641498?focus=true
Description
Testing Steps
Checklist
Please tick all that apply:
Note
Adds shadow DOM and same-origin iframe content collection and refactors DOM-to-markdown to use a settings object with max depth/length controls.
node.shadowRoot.childNodes
indomToMarkdown
.getSameOriginIframeDocument
andiframe
handling indomToMarkdown
(gated byincludeIframes
).domToMarkdown(node, settings, depth)
replacing positional args; introduceDomToMarkdownSettings
(maxLength
,maxDepth
,excludeSelectors
,includeIframes
).domToMarkdownChildren
with depth/length checks.getMainContent()
to calldomToMarkdown
with settings, include newmaxDepth
option, and structured truncation logging.Written by Cursor Bugbot for commit 1759698. This will update automatically on new commits. Configure here.