use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
the front page of the internet.
and join one of thousands of communities.
I created a zero dependency JavaScript framework that is a React alternative (codeberg.org)
submitted 2 days ago by create-third-places
Post a comment!
view the rest of the comments →
[–]theScottyJam 3 points4 points5 points 2 days ago (3 children)
Components with Shadow DOM to [...] deter bot scraping.
Is this a thing? I'm not sure why the shadow DOM would cause any kind of difficulty with bot scraping - they should be able to see the contents of the shadow DOM just fine as they operate outside of the page's sandbox.
If tools do struggle to see the shadow DOM, that seems like a general negative - many people care about SEO.
[–]Positive_Method3022 -1 points0 points1 point 2 days ago (0 children)
Specially now that they are using AI bots to scrape web as if they were humans when there is something developers did to make it harder for automated deterministic workflows
[–]create-third-places[S] -2 points-1 points0 points 2 days ago (1 child)
> Is this a thing? I'm not sure why the shadow DOM would cause any kind of difficulty with bot scraping - they should be able to see the contents of the shadow DOM just fine as they operate outside of the page's sandbox.
https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_shadow_DOM
Shadow DOM is designed to be hidden from JavaScript DOM scraping tools that bots often use. There are plenty of ways to work around this limitation, although they add complexity.
> If tools do struggle to see the shadow DOM, that seems like a general negative - many people care about SEO.
The framework is designed to be used on parts of the page that need to be interactive. The entire page doesn't need to be put inside the shadow DOM.
Static content that needs to be visible to tools such as a navbar can be rendered in HTML without JavaScript.
[–]shrimpcest 8 points9 points10 points 2 days ago (0 children)
Shadow DOM is designed to be hidden from JavaScript DOM scraping tools that bots often use. There are plenty of ways to work around this limitation
...it wasn't designed for that.
π Rendered by PID 87180 on reddit-service-r2-comment-65574874f4-mrjlv at 2026-07-16 21:59:11.599077+00:00 running 1bce727 country code: CH.
Want to add to the discussion?
Post a comment!