A
A
Alexey Dzyuba2017-10-31 21:18:39
JavaScript
Alexey Dzyuba, 2017-10-31 21:18:39

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

3 answer(s)
S
Stalker_RED, 2017-10-31
@Alex_Dz

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 evil
Of course, checks are required on the server.
Of course, there are services that cannot work in principle without js. Maps, or Google spreadsheets, for example. Here you will either have to include js or use separate applications.

D
Dmitry Belyaev, 2017-10-31
@bingo347

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 question

Ask a Question

731 491 924 answers to any question