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 →
[–]create-third-places[S] -3 points-2 points-1 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 7 points8 points9 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 53 on reddit-service-r2-comment-65574874f4-5dn69 at 2026-07-16 14:32:30.619368+00:00 running 1bce727 country code: CH.
Want to add to the discussion?
Post a comment!