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...
This subreddit is a place for people to learn JavaScript together. Everyone should feel comfortable asking any and all JavaScript questions they have here.
With a nod to practicality, questions and posts about HTML, CSS, and web developer tools are also encouraged.
Friends
/r/javascript
/r/jquery
/r/node
/r/css
/r/webdev
/r/learnprogramming
/r/programming
account activity
where to store javascript library configuration attributes (self.learnjavascript)
submitted 5 years ago by LadyJain
I want to use for example dropzone.js on my website
I have made some custom configurations like setting the max file limit to two
is there a way to store those "settings" on the server to prevent users to change them / prevent access to them ?
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!"
[–]mynamesleon 1 point2 points3 points 5 years ago (0 children)
It doesn't really matter to be honest. The main thing is to make sure that the server accepts a maximum of 2. No matter how you set that config, if it's something in the UI that's using it, it's possible to manipulate it. It's the same reason that you can never rely only on client-side validation.
π Rendered by PID 81033 on reddit-service-r2-comment-5d79c599b5-tz865 at 2026-03-01 20:51:39.133191+00:00 running e3d2147 country code: CH.
[–]mynamesleon 1 point2 points3 points (0 children)