Support for users who do not use Javascript is running out?

9

Yes, of course it's important, but I see a lot of sites that just do not work if JavaScript is turned off. It's more for the sake of curiosity, but nowadays it's almost mandatory to use JavaScript on a large site, so the habit of "user support that you do not have" is gone? Examples of sites that do not work with JavaSript off:

Of course, it all depends on the type of website being developed, but I mean new sites that use various beautiful effects like Parallax, libraries like Bootstrap and jQuery, etc. Especially One Page sites, which use and abuse JavaScript, having fantastic results. So in the development of these sites, this question is left out?

    
asked by anonymous 03.04.2015 / 01:39

2 answers

12

JavaScript, over the years, has become highly sought after, giving rise to a whole universe of frameworks with which today's Internet does not seem to survive.

Brendan Eich was the creator of the JavaScript language in 1995, later the founder of the Mozilla universe, which to versions back in your Firefox version 23 removed the option to turn off JavaScript .

Given that Mozilla's staff is a benchmark for Internet, usage and productivity under it, and given that they have removed the option to turn off JavaScript, I would say yes, that support staff ( users) without JavaScript will end!

JavaScript, an option?

The web does not run without HTML, but any other multimedia content or language on the client side has always been optional: JavaScript, CSS, Images, Video, etc.

The issue is that nowadays, with the demand of the target audience constantly increasing, with all the demand for dynamism and real-time operations, the constant attempt to "abolish" the boring page-refresh, it becomes difficult for any trader in the area to satisfy the current market without JavaScript.

The same goes for JavaScript:

  • Real-time data validations;
  • Visual effects;
  • Timers;
  • Dynamic content;
  • Additional protection layers in applications;

And many other practical applications that make JavaScript indispensable in modern days, make it no longer an option but a necessity.

This is an acquired fact under which browser vendors work to improve and tend, like Mozilla, to evolve rather than stagnate.

JavaScript, does it have a future?

Who remembers having Flash work knows that change is inevitable and that from today to tomorrow there is something new, improved that comes to replace what we are used to.

Flash was a fashion, for years the websites were developed in flash, Flash itself grew, has been improved and has become the indispensable tool. Today, HTML5 does what Flash did, more simply, more effectively, and with fewer compatibility issues and without requiring plugins.

JavaScript will reach the stage where Flash is today, dead on the water! For now, it is a language full of life and future, but with HTML5 and CSS3, much of the need for JavaScript has disappeared, at some point it will also disappear.

Ex:

Verify that a particular field in a form is empty:

<form name="meuFormulario" method="post">
  Pergunta: <input name="question" />
  <br />
  <input onclick="return IsEmpty();" type="submit" value="Adicionar Pergunta" />
</form>

JavaScript

function IsEmpty(){
  if(document.forms['meuFormulario'].question.value == "")
  {
    alert("vazio");
    return false;
  }
    return true;
}

HTML5

Just add the required attribute to our field, and the browser will handle the rest!

Progressive Enhancement

The technique is based on a simple principle, create something solid and functional, and then apply a whole layer of extra features that may or may not be used if the support needed for them is available.

Nothing in the paragraph above happens on most sites or online platforms today. All that is sought is to do well, fast and modern because in half a year is to erase and do something new!

  • Browsers move from version to version so fast that when I do an update I'm already going 3 or 4 versions ago;
  • Technologies change in such a way that the best solution we have today, in a month is a "crime" to use.
  • I do a job today, in half a year the client wants something new, totally different.

But what is more important: To advance or lose an infinite amount of time to ensure that a small minority who insists on not advancing can see what others who have advanced are seeing?

ie

Working with current technology, between which JavaScript or continue to waste infinite time to ensure that anyone who uses Internet Explorer 7 with JavaScript turned off will be able to use SOpt?

I would say yes, that support for personal (users) without JavaScript will end!

    
03.04.2015 / 04:13
3

It all depends on the requirement of such users: if there is pressure for sites to work without JavaScript, there will still be sites that work without JavaScript. If there is not, there will be no ...

I would say that the vast majority of people do not give a shit about it (or even know it exists!). But there's an expressive group that cares - be free software "fanatics" who do not want non-free code running on their machine , be "paranoid" for security that does not want arbitrary code running on your machine, be ordinary people full of so much advertisement that they prefer to enable selectively but keep it off by default (category in which I include 1 ).

Individuals and private companies have complete freedom to ignore these groups - usually too small to make a significant difference in their pockets. For example, official government websites, for example, may be required by law to keep certain services accessible if they are pressured enough to do so. It is the same case of sites that only worked in IE or the programs that only worked in Windows - the staff complained so much that today the situation is already quite different (the program to make Income tax declaration, for example, is cross-platform , and many banks have specific IE "security modules" - via ActiveX - and the rest - via Java). If similar pressure exists for certain sites to work without JavaScript, there is no alternative but to do so.

But for the vast majority of applications, I agree with Zuul's arguments - we expect much more from a website nowadays than simply reading static information and occasionally posting something. So the use of JavaScript will become more and more pervasive. Unless of course someone invents a engine more versatile than a browser - perhaps even rendering browsers obsolete (difficult but possible - was thought so that clients - or User Agents - evolved independently of the servers, and vice versa -versa ). That allows you to do 95% of what the current sites do, but in a purely declarative way, without requiring arbitrary [executable] code. Hard to imagine nowadays, but all disruptive technologies start like this ...;)

1. Seriously! Try to navigate 1 month with NoScript on and then go back to what it was before. You can not handle it ... The Internet is literally more beautiful with NoScript!

2. And there are reasons. more important than avoiding ads to disable JavaScript, especially on sites from government (s) ...

    
03.04.2015 / 08:32