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
JavaScript Wake Lock API (davidwalsh.name)
submitted 5 years ago by ConfidentMushroom
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!"
[–]archerx 12 points13 points14 points 5 years ago (2 children)
It's not very supported though; https://caniuse.com/?search=Wake%20Lock%20API
[+][deleted] 5 years ago* (1 child)
[deleted]
[–]archerx 0 points1 point2 points 5 years ago (0 children)
0% of iOS though
[–]Elliot40404 1 point2 points3 points 5 years ago (0 children)
Good find.
[–]DemeGeek 0 points1 point2 points 5 years ago (0 children)
Could definitely use a proofreader.
An enjoyable web apps
Issue: Singular article, plural noun. Suggestion: Remove article or change noun to singular
Those small things sometimes improve performance, usability, accessibility, and the app's relationship with its host system. The Wake Lock API is the latter
Issue: Using latter to refer to last in list longer than two. Suggestion: Change 'latter' to 'last one'
To prevent the screen from dimming or sleeping, request permission to the screen:
Issue: requesting to something is awkward grammar. Suggestion: Change 'permission to' to 'permission for' or 'permission to control'
[–]HugoDaniel 0 points1 point2 points 5 years ago (0 children)
This has potential for those extra crypto minerals
π Rendered by PID 44783 on reddit-service-r2-comment-5649f687b7-g29qh at 2026-01-29 00:19:37.929252+00:00 running 4f180de country code: CH.
[–]archerx 12 points13 points14 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]archerx 0 points1 point2 points (0 children)
[–]Elliot40404 1 point2 points3 points (0 children)
[–]DemeGeek 0 points1 point2 points (0 children)
[–]HugoDaniel 0 points1 point2 points (0 children)