News for hackers. Stuff that matters.
Re:Warning.js: the opposite of noscript warnings by 0x4a42 on Monday February 19, 2018 @11:17AM (#16413708)
100 lines of code for this is not "tiny": <script>alert('You are using JavaScript!')</script>
Re:Warning.js: the opposite of noscript warnings by vog on Monday February 19, 2018 @12:09PM (#16414085)
I don't get it, either. Even the include is longer that directly writing a plain alert:

    <script type="text/javascript" src="warning.js" charset="utf-8"></script>
versus:

    <script>alert('You forgot to disable JavaScript!')</script>
To be fair, the following would be sufficient, but for some strange reasons the project recommends the long version:

    <script src="warning.js"></script>
Re:Warning.js: the opposite of noscript warnings by mstef on Monday February 19, 2018 @12:21PM (#16414157)
that would be less funny and lack the educational aspect.
Re:Warning.js: the opposite of noscript warnings by thomascgalvin on Monday February 19, 2018 @11:18AM (#16413719)
So the demo site [1] shows this warning:

> We are psyched to tell you, NOT on this site, here you don't need no stinking JavaScript!!!!1!

Which, if you simply include the script as directed in the "Installation & Usage" section, can't even be customized. This is hideously unprofessional, and I would immediately bounce off of any site that included it.

[1] https://asciimoo.github.io/warning.js/

Re:Warning.js: the opposite of noscript warnings by fluxsauce on Monday February 19, 2018 @11:57AM (#16413983)
> I hate JavaScript so much that I'm going to include JavaScript complaining about you running my JavaScript.

Or just don't include any JavaScript.

Re:Warning.js: the opposite of noscript warnings by erikrothoff on Monday February 19, 2018 @11:43AM (#16413888)
While an interesting idea, it feels like an uphill battle with a broken vehicle. The tone is a bit unfortunate and off-putting.
Re:Warning.js: the opposite of noscript warnings by danschumann on Monday February 19, 2018 @11:42AM (#16413876)
I hate this, because I love javascript, but it did make me laugh.
Re:Warning.js: the opposite of noscript warnings by nukeop on Monday February 19, 2018 @01:14PM (#16414517)
uMatrix is a superior alternative to noscript and should be recommended instead. It allows for a far greater amount of control over displayed and loaded content than noscript, and with a more intuitive UI.