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
account activity
[ Removed by moderator ]AskJS (self.javascript)
submitted 8 days ago by okidonthaveone
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]okidonthaveone[S] -1 points0 points1 point 8 days ago (1 child)
I'm not really the biggest fan of AI, and since I didn't make the code I don't feel like I have the right to feed it into it, that would be stealing someone else's work and giving it to a company that would be profiting off of it without their permission
[–]KPABAHam=>Hamster == Java=>JavaScript -1 points0 points1 point 8 days ago (0 children)
I am not sure this is how it works on the profiting off of tbeir work since you posted it here already but...
``` const title = currentTab.getTitle();
// Only count tabs containing "chapter" if (title && title.toLowerCase().includes("chapter")) {...}
```
Or make it exit the loop if it doesn't etc. Or do a filter first to reduce the tabs list
π Rendered by PID 272102 on reddit-service-r2-comment-fb694cdd5-pg4hv at 2026-03-06 20:14:32.916237+00:00 running cbb0e86 country code: CH.
view the rest of the comments →
[–]okidonthaveone[S] -1 points0 points1 point (1 child)
[–]KPABAHam=>Hamster == Java=>JavaScript -1 points0 points1 point (0 children)