News for hackers. Stuff that matters.
Re:Do nice guys come second? by CapitalistCartr on Friday July 29, 2016 @07:06AM (#12186013)
"Sorry, you need to enable JavaScript to visit this website."
Re:Do nice guys come second? by awalGarg on Friday July 29, 2016 @07:32AM (#12186127)
If you use some style injector plugin (like stylish), you can add this for that page:

    #seckit-noscript-tag { display: none; }
and it works fine... (or you can remove the matching div from the web inspector if you are using a browser which has one).

Aside: That one element is blocking an entire working page for no reason. Where oh where has web dev come to :'(

Re:Do nice guys come second? by erlehmann_ on Friday July 29, 2016 @07:52AM (#12186229)
It probably is not “for no reason” – the reason is that the page contains advertising and tracking scripts. The page owner is even willing to lie (pretending that JS is necessary is a flat-out lie if the page works fine without any JS features) so that users enable JS and run those.

In 2013, I created a program to visualize what hosts a web site notifies when it is loaded http://daten.dieweltistgarnichtso.net/src/list-web-bugs.py – you can see the output for the article here: http://daten.dieweltistgarnichtso.net/pics/graphs/web-bugs/w...

Re:Do nice guys come second? by gluelogic on Friday July 29, 2016 @10:23AM (#12186982)
Hey, this is cool! Nice work. I am going to play around with this later.
Re:Do nice guys come second? by erlehmann_ on Friday July 29, 2016 @10:47AM (#12187160)
I also have a page to visualize German newspapers' tracking: http://news.dieweltistgarnichtso.net/posts/zeitungs-tracking...
Re:Do nice guys come second? by FreeFull on Friday July 29, 2016 @07:40AM (#12186177)
Firefox's reader mode also works
Re:Do nice guys come second? by erelde on Friday July 29, 2016 @09:40AM (#12186706)
Isn't reader mode effectively an adblocker and no-javascript mode ? That will parse the html and return only what it detects as the divs you want to read ?
Re:Do nice guys come second? by UweSchmidt on Friday July 29, 2016 @10:31AM (#12187045)
Obviously it won't block js if js is technically required to render the page, leaving you open to security risks and compromising your privacy.
Re:Do nice guys come second? by toomanythings4 on Friday July 29, 2016 @08:28AM (#12186350)
Less than 2% of all web users have javascript turned off. Some say it's less than 1% and it's mostly people who understand the consequences of doing so.

Turning off the native component of anything always has consequences for those tinkering under the hood and the vast majority of those visiting that site don't tinker under the hood.

As the owner of a web dev company, I sometimes consider ignoring the "must work even without javascript" mantra. I haven't yet but there are times.

Re:Do nice guys come second? by oolongCat on Friday July 29, 2016 @07:22AM (#12186086)
Re:Do nice guys come second? by ux-app on Friday July 29, 2016 @07:07AM (#12186016)
welcome to 2016
Re:Do nice guys come second? by paraxisi on Friday July 29, 2016 @07:29AM (#12186112)
What ever happened to fail gracefully?
Re:Do nice guys come second? by y0ghur7_xxx on Friday July 29, 2016 @07:49AM (#12186215)
If you cripple your browser some websites will break. Don't expect site owners to make them work just for you.

Fail gracefully was over the moment the "disable javascript" checkbox was removed from the options menu in every major browser.

Re:Do nice guys come second? by chongli on Friday July 29, 2016 @08:34AM (#12186383)
In this case, the site owner is deliberately sabotaging non-JavaScript users in order to get them to run ad-tracking and analytics. There isn't actually a good-faith reason to require JavaScript here.
Re:Do nice guys come second? by Sacho on Friday July 29, 2016 @09:41AM (#12186709)
The site owner profits from showing ads. There's little business reason for them to show ad-less pages to users. What does good faith have to do with it? They're not assuming you'll hack them or steal their content, it's a matter of business.
Re:Do nice guys come second? by douche on Friday July 29, 2016 @07:56AM (#12186244)
My Chrome still has a radio button (admittedly not a checkbox...) that will disable javascript on all sites.

There's a distinction to be made between content sites and application sites. It's really just too much work to try to make an application fall back to plain HTML, but for a content-centered site, like a blog, a news site, etc, it's not that hard to do things right and not require JS.

Re:Do nice guys come second? by wtbob on Friday July 29, 2016 @09:24AM (#12186614)
> If you cripple your browser some websites will break.

A browser which doesn't implement JavaScript is not crippled; it is 100% functional. A web page which requires JavaScript is crippled, because JavaScript is not required in order to display text and images.

Re:Do nice guys come second? by _0ffh on Saturday July 30, 2016 @09:01AM (#12192788)
It's the website that's crippled - and intentionally so!
Re:Do nice guys come second? by coldtea on Friday July 29, 2016 @08:58AM (#12186498)
Opportunity cost happened.
Re:Do nice guys come second? by mhurron on Friday July 29, 2016 @09:02AM (#12186518)
You can't run ads or track your users that way.
Re:Do nice guys come second? by chinathrow on Friday July 29, 2016 @09:10AM (#12186556)
Yes you can, actually. It's just more work to set it up properly but you absolutely can track user easily server side and you can serve ads without JS just fine.
Re:Do nice guys come second? by marcosdumay on Friday July 29, 2016 @10:46AM (#12187154)
But you can't automatically relay those capabilities to untrusted 3rd parties. And that's where the money is.
Re:Do nice guys come second? by chinathrow on Friday July 29, 2016 @11:19AM (#12187387)
Can you elaborate on there the money is exactly? Is it in selling data points about your visitors?
Re:Do nice guys come second? by marcosdumay on Saturday July 30, 2016 @10:30AM (#12193114)
It is in running 3rd party trackers on your site.