Answer the question
In order to leave comments, you need to log in
What if javascript is disabled on the client?
Once I went to the site of a modeling agency, where there is a profile. To fill out the questionnaire, you need to send photos, but the trick is that photos cannot be sent with Javascript disabled (this is how they apparently have inputs). Question: Is this bad practice? What do they do in cases where an application or just a site cannot function normally without javascript?
And here. Let's say there is a web application created in Javascript. Let's say I disabled javascript in the browser. In theory, I can simply bypass some client-side checks and, for example, send invalid data to some evil content manager. As I understand it, in this case it is necessary that there be a mandatory check on the server, right?
Answer the question
In order to leave comments, you need to log in
Yes, it is bad practice, although many lazy assholes think that users without js should go to the forest.
What do they do in cases where an application or just a site cannot function normally without javascript?Close the tab and go to another site, for example?
send invalid data to evilOf course, checks are required on the server.
As practice shows, users with disabled js do not bring money through the site, and therefore it is simply not rational from a business point of view to spend man-hours on them
. well ... again, as practice shows, such people prefer to make a phone call than to poke buttons
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question