News for hackers. Stuff that matters.
Re:Firefox 85 cracks down on supercookies by simias on Tuesday January 26, 2021 @03:22PM (#25920590)
Note that the root of all evil here is Javascript being opt-out instead of opt-in (and effectively mandatory for a big chunk of the internet these days).

Letting any website and their friends (and the friends of their friends) run turing complete code on the client PC probably sounded reasonable when the web was created but it seems incredibly naive in hindsight. It's not as bad as ActiveX and other plugins, but it's pretty close.

Re:Firefox 85 cracks down on supercookies by scrollaway on Tuesday January 26, 2021 @06:53PM (#25922487)
> it seems incredibly naive in hindsight

Oh stop with the dramatics, please. JS has brought us an immense amount of innovation on the web. It has lowered the barrier of entry to programming and introduced tens of millions of people to the world of development.

If you're on HN the odds are that directly or indirectly, JS is one of the reasons you have a job today, and that you can execute it remotely. And today specifically, it's the only reason many kids can do remote learning as efficiently as they can.

Dude/dudette, I'm not a big fan of JS but let's recognize the good it has brought on the world, instead of complaining in the likes of what amounts to "if only we still lived in caves, we wouldn't have those pesky problems with online advertising" or something.

Re:Firefox 85 cracks down on supercookies by dkarl on Tuesday January 26, 2021 @07:16PM (#25922652)
It can have been incredibly naive and have brought great benefit at the same time. In the 1990s did we foresee that in 2021, tracking our individual web activity and building profiles of our behavior would be a pillar of the business model supporting most of the online economy? Did we foresee that we would be looking to government regulation to prevent comprehensive profiles of our individual web browsing activity from being sold by private companies, and bought not only by other private companies but by government agencies as well? No? Then I think we were, in hindsight, naive. I'm not denying any of the benefits of Javascript by saying that. We did not foresee all of the upside of Javascript, but we were naive about the costs, too.
Re:Firefox 85 cracks down on supercookies by tclancy on Tuesday January 26, 2021 @07:42PM (#25922849)
Not predicting what will happen thirty years hence is naive? The web was all shiny goodness and going to be a panacea for anything you could name back in the late 90s. The fact that it did not come to pass isn’t naïveté so much as a disappointing repeat of what our current economic systems of reward drive companies to do.
Re:Firefox 85 cracks down on supercookies by frabcus on Tuesday January 26, 2021 @09:42PM (#25923633)
The general pattern was predictable - I was involved in making an early ad blocker in 1996. Adbusters magazine was a thing then.

Technically, the detail of super-cookies is inventive and surprising. The general trend for how capitalism inevitably both uses and abuses advertising was predictable.

Re:Firefox 85 cracks down on supercookies by fauigerzigerk on Wednesday January 27, 2021 @04:10AM (#25925918)
>JS has brought us an immense amount of innovation on the web. It has lowered the barrier of entry to programming and introduced tens of millions of people to the world of development.

JS didn't lower the barrier to programming at all. On the contrary, programming with VisualBasic and SQL was 10 times more accessible and productive than web development. What enabled millions to write software was the availability of computers in every household.

What the Web did was revolutionise software distribution. After making a change to my 1990s style VB program I had to pack a stack of floppy disks and travel to my customer to install the new version on their PCs, migrate the data, make sure everything still worked in spite of other programs installing an overlapping set of DLLs, etc.

With the Web, we took a massive hit in terms of developer productivity and complexity, but the distribution model trumped absolutely everything. It also made things possible that would have been completely unthinkable, such as running software made by a large number of developers you don't know and don't necessarily trust with all your data.

To this day, the Web is the only reasonably secure runtime environment that isn't centrally controlled by some gatekeeper with its own agenda.

So I actually agree with most of what you have said elsewhere in this thread. But I disagree about lowering the barrier for developers.

Re:Firefox 85 cracks down on supercookies by bipin_nag on Wednesday January 27, 2021 @05:16AM (#25926389)
>JS didn't lower the barrier to programming at all. >But I disagree about lowering the barrier for developers.

I think OP meant it as browsers that run JS. The built in console is so useful for testing/practice. You can run JS without any setup on most popular OS - Win/Linux/Mac.

You can practice JS in console while viewing YouTube tutorial or following a JS blog/ Mozilla dev page.

Re:Firefox 85 cracks down on supercookies by fauigerzigerk on Wednesday January 27, 2021 @06:34AM (#25926988)
I know that's what they meant, but I disagree that it lowered the barrier to creating actual applications or to getting into programming.

Everyone who had MS Office installed back in the 1990s (which was basically everyone) could easily run some quick VB code to try things.

But the difference was that you could also create proper applications with a UI, a database and (optionally!) some glue code.

We just had no good way of distributing our apps. Creating anything collaborative that wasn't restricted to a local network was exceedingly difficult as well.

The Web fixed all that, albeit at the cost of cratering developer productivity, a massive increase in complexity and higher barriers to entry for new devs.

And if you're asking me why the number of developers exploded while the barriers to entry supposedly went up, my answer is that the new opportunities that came with unrestricted worldwide distribution of software trumped the narrower issue of writing that software in the first place.

Re:Firefox 85 cracks down on supercookies by bipin_nag on Wednesday January 27, 2021 @11:34PM (#25938223)
>Everyone who had MS Office installed back in the 1990s (which was basically everyone) could easily run some quick VB code to try things.

Can't be everyone, how do you know the numbers? How many Office users actually used VB? MS famously stifled competition in internet browsers. 1990s numbers still won't give a fair picture.

>The Web fixed all that, albeit at the cost of cratering developer productivity, a massive increase in complexity and higher barriers to entry for new devs.

Why blame the web for higher barrier to entry. JS is doing fine. See a few surveys for popular languages:  https://insights.stackoverflow.com/survey/2020#most-popular-...

https://madnight.github.io/githut/

Re:Firefox 85 cracks down on supercookies by nofunsir on Tuesday January 26, 2021 @07:38PM (#25922820)
I agree with simias.

What does JS have to do with my VPN? What was wrong with Skype? Still beats the pants off others for quality.

I cannot think of much good agressive whitespace, hamburger menus, infinite scrolling, HID hijacking, copy-paste preventing, trackers etc, etc etc, has brought us, besides into the world of Aggressive Ad Arbitrage.

Need https://motherfuckingwebsite.com/ be mentioned?

The real powerhouse was Flash, then HTML5, and now WebAssembly, or as I like to call it, reinventing the wheel while simultaneously and conveniently blocking ad-blockers.

Re:Firefox 85 cracks down on supercookies by roblabla on Wednesday January 27, 2021 @05:15AM (#25926381)
> WebAssembly, or as I like to call it, reinventing the wheel while simultaneously and conveniently blocking ad-blockers.

This meme needs to die.

WebAssembly doesn't prevent ad blocking at all. Ad blocking relies on blocking network requests for the most part, which can still absolutely be blocked when done by WASM.

Some ad blockers also optionally relies on removing DOM nodes for greater coverage. It's important to note that this technique is used to reduce visual clutter, but doesn't prevent tracking, and doesn't increase browsing performance as the ad still gets downloaded before being removed.

Yes, a purely canvas-based app could work around DOM blocking, but WASM has nothing to do with it: you can do pure canvas-based UIs in javascript too, that's what all the modern web games do.

Re:Firefox 85 cracks down on supercookies by triceratops on Tuesday January 26, 2021 @08:08PM (#25923017)
> I cannot think of much good...[JS] has brought us...

This has shades of "What have the Romans ever done for us".

https://www.youtube.com/watch?v=djZkTnJnLR0

Re:Firefox 85 cracks down on supercookies by nofunsir on Tuesday January 26, 2021 @10:19PM (#25923841)
Still waiting for the sanitation, aqueducts, roads, peace, etc...
Re:Firefox 85 cracks down on supercookies by scrollaway on Tuesday January 26, 2021 @08:44PM (#25923281)
So .. because you don't like design trends, you're saying JS is useless?

That's like saying wool is useless because you don't like modern fashion.

Re:Firefox 85 cracks down on supercookies by Normal_gaussian on Wednesday January 27, 2021 @07:52AM (#25927597)
It turns out: securing on network services is a PITA that school network admins don't need more of; developing good ones is expensive and is best outsourced to a SaaS; on network/on device resources need more extensive vetting than web resources; on network/device resources take days to try out and roll out with cooperation of the understaffed IT team, web resources take one class and a link.

Skype is superceeded by a half dozen more targetted classroom video chats - none of which need installing or require the kids to have accounts.

From the perspective of more easily deployable apps that are more useful to end users, WebAsm > HTML5 > Flash. The fact the ad monopolies run our major web developments is convenient for them to piggyback these changes, but isn't the drive for them.

Re:Firefox 85 cracks down on supercookies by windowojji on Tuesday January 26, 2021 @09:51PM (#25923682)
I like that the website you linked still has Google Analytics JS embedded.
Re:Firefox 85 cracks down on supercookies by GoblinSlayer on Wednesday January 27, 2021 @11:58AM (#25930556)
It's states what it gets right: it's lightweight, accessible, compatible, responsive, legible and it works.
Re:Firefox 85 cracks down on supercookies by nofunsir on Tuesday January 26, 2021 @10:08PM (#25923771)
F12 it ;)
Re:Firefox 85 cracks down on supercookies by Accacin on Wednesday January 27, 2021 @06:25AM (#25926913)
You're blaming the language for how people use it. It's like saying C is bad because people use it to write root kits.
Re:Firefox 85 cracks down on supercookies by sthnblllII on Wednesday January 27, 2021 @09:23AM (#25928574)
C is for writing trusted native code. JS is for writing untrusted code in a sandbox that is way too leaky.
Re:Firefox 85 cracks down on supercookies by 2Gkashmiri on Wednesday January 27, 2021 @02:11AM (#25925213)
946ms for me. has google analytics
Re:Firefox 85 cracks down on supercookies by Const-me on Tuesday January 26, 2021 @09:30PM (#25923556)
> It has lowered the barrier of entry to programming and introduced tens of millions of people to the world of development.

I think Basic, Pascal or Python achieved more at that.

> it's the only reason many kids can do remote learning as efficiently as they can.

The main reason is internets and TCP/IP, that’s essential and irreplaceable. Another important reason is h.264, equivalents do exist, but given the state of hardware acceleration it’s irreplaceable, at least not on mobile devices.

JavaScript ain’t an essential tech, as it’s replaceable on both clients and servers. Your kids would learn equally efficiently using a native app instead of these JS-rich web sites.

Re:Firefox 85 cracks down on supercookies by scrollaway on Tuesday January 26, 2021 @11:20PM (#25924228)
I've worked with python 17 years. I've taught python, javascript and typescript. There is a universe between how accessible JS is vs Python.

And TCPIP may have helped but just because it's essential part of the stack doesn't mean the remote learning could have happened without JS existing (in the time it did). The web would be a glorified FTP server if some people here had their way.

Re:Firefox 85 cracks down on supercookies by wirthjason on Wednesday January 27, 2021 @08:38AM (#25928077)
As a Python programmer myself I’m curious, what’s the difference?
Re:Firefox 85 cracks down on supercookies by scott_w on Wednesday January 27, 2021 @09:41AM (#25928792)
Your language interpreter comes built-in with your computer
Re:Firefox 85 cracks down on supercookies by dahfizz on Wednesday January 27, 2021 @11:36AM (#25930279)
So "Download pycharm" is enough of a barrier that it creates a "universe of difference"? I find that hard to believe.
Re:Firefox 85 cracks down on supercookies by scott_w on Wednesday January 27, 2021 @03:26PM (#25933474)
Yes, it is. You’re missing the step beforehand which is “know that you can download PyCharm.”
Re:Firefox 85 cracks down on supercookies by andrewflnr on Tuesday January 26, 2021 @06:58PM (#25922519)
That's an entirely different question to whether it should be on by default for random sites, which is what GP is actually talking about. I would go farther and say that there was never a time that it looked reasonable.
Re:Firefox 85 cracks down on supercookies by scrollaway on Tuesday January 26, 2021 @08:53PM (#25923340)
Don't you think JS being so available is part of what made it so popular, and thus what made it accessible, and what brought programming to millions who wouldn't have done it otherwise?
Re:Firefox 85 cracks down on supercookies by andrewflnr on Tuesday January 26, 2021 @11:29PM (#25924298)
I think that asking users "do you want to let this site run JavaScript?" would have been an acceptable trade-off in availability.
Re:Firefox 85 cracks down on supercookies by scrollaway on Tuesday January 26, 2021 @11:47PM (#25924419)
Look up alert fatigue.
Re:Firefox 85 cracks down on supercookies by andrewflnr on Wednesday January 27, 2021 @01:08AM (#25924866)
I've heard of it, actually. I don't think that's a good reason to enable JavaScript by default any more than it's a good reason to give webpages access to my camera, microphone, and filesystem by default.
Re:Firefox 85 cracks down on supercookies by waste_monk on Tuesday January 26, 2021 @08:33PM (#25923205)
Good things are happening in spite of JS, not because of it. It's a silly language, the type system is atrocious, and the entire ecosystem is a joke (look at the left-pad incident).
Re:Firefox 85 cracks down on supercookies by scrollaway on Tuesday January 26, 2021 @08:41PM (#25923262)
Typescript has an excellent type system and one of the best development environments the entire dev world can use. You know what ecosystem it's a part of? The JS one. That "entire" one you're talking about has produced superb work such as React, V8, is pretty much responsible for Rust existing, and so on.

JS has dumb flaws. It doesn't mean anything is happening "in spite" of it. If anything, innovation is happening thanks to JS AND in spite of its flaws. But don't think for a second we would have even one tenth of the developers we have at our disposal today if JS and the internet didn't massively lower that barrier of entry. And less developers means less progress overall in the entire industry, not just less left-hand libraries.

Re:Firefox 85 cracks down on supercookies by rrdharan on Tuesday January 26, 2021 @09:27PM (#25923540)
> Typescript has an excellent type system

It has a type system. "Excellent" feels a bit strong.

https://blog.asana.com/2020/01/typescript-quirks/

https://www.executeprogram.com/courses/typescript/lessons/ty...

Re:Firefox 85 cracks down on supercookies by scrollaway on Tuesday January 26, 2021 @10:46PM (#25923989)
This feels like complaining about an "excellent" game because you found a couple of bugs in ...

That second article is legitimately cool though.

Re:Firefox 85 cracks down on supercookies by nl on Tuesday January 26, 2021 @08:42PM (#25923267)
The criticism is about an executable/scripting code platform in the browser as an opt-out - nothing specific about the semantics of JS.
Re:Firefox 85 cracks down on supercookies by opensmtpd on Wednesday January 27, 2021 @12:10AM (#25924554)
JS brought both problems and benefits. The fact that it brought benefits doesn't prove that it didn't bring problems.

I think we could have done better if we knew what we were doing.

Re:Firefox 85 cracks down on supercookies by scrollaway on Wednesday January 27, 2021 @05:17PM (#25934852)
This is just such a weird centrist point to make. Is there any substance to what you're saying other than "there's good and bad in everything"?
Re:Firefox 85 cracks down on supercookies by drzaiusapelord on Tuesday January 26, 2021 @08:14PM (#25923059)
So did using computers in single user mode, but we wouldn't dare do that today. JS is, arguably, over-reaching and way too powerful for the web to be turned on by default.

The sad part is we're probably just one decent privacy bill away from making almost all of this go away. JS + an anti-regulatory political climate is the larger problem. The EU has tackled this heads on recently with its privacy laws. At a certain point, technical work-arounds just don't work and the bad commercial actors will always win unless there's regulation stop them.

Re:Firefox 85 cracks down on supercookies by ekianjo on Wednesday January 27, 2021 @12:39AM (#25924714)
> It has lowered the barrier of entry to programming and introduced tens of millions of people to the world of development.

And wasted zillions of man hours to relearn the latest web framework every 2 years. Good job JS. We all love you.

Re:Firefox 85 cracks down on supercookies by specialist on Wednesday January 27, 2021 @09:49AM (#25928867)
There were a variety of scripting languages.

You don't acknowledge the need to sandbox code, regardless of language.

Re:Firefox 85 cracks down on supercookies by emptyparadise on Tuesday January 26, 2021 @10:47PM (#25923998)
Applications can exist outside of the web too.
Re:Firefox 85 cracks down on supercookies by fauigerzigerk on Wednesday January 27, 2021 @03:08AM (#25925547)
Yes but if it was „incredibly naive“ to download and run JavaScript in the browser sandbox how naive would it have been to download and run native code outside of any sandbox?

The browser runtime is what enabled us to use software provided by a huge number of developers of varying aptitude and motivation without putting in place some centralised gatekeeper with its own vested interests.

Re:Firefox 85 cracks down on supercookies by account42 on Wednesday January 27, 2021 @05:01AM (#25926288)
> Yes but if it was „incredibly naive“ to download and run JavaScript in the browser sandbox how naive would it have been to download and run native code outside of any sandbox?

It would be naive to download and run native code for every website you visiti, yes. A few that you trust and where you think that is warranted is a different matter.

Running javascript in a sandbox provides the illusion of safety so it gets enabled by default while still creating tons of problems.

Re:Firefox 85 cracks down on supercookies by fauigerzigerk on Wednesday January 27, 2021 @06:15AM (#25926825)
> A few that you trust and where you think that is warranted is a different matter.

We tried that, and the security issues it caused were orders of magnitude more severe than any of the problems caused by defects in an up-to-date browser sandbox. Basically all consumer PCs used to be infested with viruses all the time. It sparked an entire virus scanning industry.

It takes far too much discipline and diligence to make sure that you can trust the motivations and security capabilties of all your software providers. Sandboxing is good. It's the only thing short of the most heavy handed, restrictive and centralised control that has ever worked.

The security issues we have on today's Web are overwhelmingly unrelated to client-side security. The problem is protecting the data that is stored on servers and the incentives created by ad based business models. All of that is equally problematic regardless of whether you run native code or sandboxed JavaScript.

Re:Firefox 85 cracks down on supercookies by scrollaway on Wednesday January 27, 2021 @12:01AM (#25924493)
That's not my point. You wouldn't have had the development speed we've had the last 30 years. You wouldn't have had the same amount of devs. The same pickup on the web. The same worldwide connectivity.

Javascript is one of the, if not the, most influential technologies of the past 100 years. It changed the course of history. Can you say the same of, like, wxWidgets or whatever UI toolkit you'd be using for your native app?

Re:Firefox 85 cracks down on supercookies by emptyparadise on Wednesday January 27, 2021 @01:46AM (#25925064)
>Javascript is one of the, if not the, most influential technologies of the past 100 years.

That's... one hell of a claim.

Re:Firefox 85 cracks down on supercookies by egeozcan on Wednesday January 27, 2021 @04:33AM (#25926096)
JS is indeed what brought us all the speed in software development. People could prototype their ideas crazy fast, and they still can. Scripting in browser had an immense positive impact on software industry, and that DID come with many negatives, but you always have the option to completely turn it off if those bother you.

A sandboxed environment was a huge idea and the browser has been the primary example of how great it can be. The app model in mobile with permission isolated access is more or less the proprietary re-implementations of the browser sandbox.

Re:Firefox 85 cracks down on supercookies by etripe on Wednesday January 27, 2021 @11:21AM (#25930112)
Prototyping fast does not guarantee shipping robust software fast, which is in part why the JS ecosystem has been having problems.

To apply the common construction analogy to JavaScript: no one would call a quick sketch on a napkin a valid blueprint for a building.

Re:Firefox 85 cracks down on supercookies by patates on Wednesday January 27, 2021 @11:49AM (#25930435)
> (...) JS ecosystem has been having problems

what problems? Yeah, stuff like left-pad happened with NPM, but that has nothing to do with sandboxed scripting in browser. Also within my already-depressingly-long career, I had more problems with deploying "robust" .NET desktop apps (WPF & Forms) and even Qt based supposedly "cross-platform" apps than web apps. Web is the most robust platform I've ever worked with, and that's by a huge margin.

JS as a language has problems[1] but the idea behind it proved itself to be great.

[1]: and with the latest additions it's one of the better programming languages to work with, although the standard library sucks (or more like, nearly non-existent). But that's totally another topic.

Re:Firefox 85 cracks down on supercookies by scrollaway on Wednesday January 27, 2021 @03:20AM (#25925626)
I 100% stand behind it. It rivals everything I can think of and then some (the internet itself included).
Re:Firefox 85 cracks down on supercookies by masa331 on Tuesday January 26, 2021 @03:27PM (#25920653)
No no no. The problem isn't JavaScript or web capabilities here. It's the companies and people who use them in evil ways. I would rather handle that even if it's much much harder.
Re:Firefox 85 cracks down on supercookies by ballenf on Tuesday January 26, 2021 @06:05PM (#25922086)
I don't think it's either/or. Yeah we need to act against companies abusing it, but we also need to be prudent and put locks on our houses when we know there are thieves and spies who would love to sneak inside and take notes on our every move.

What frustrates me the most is that we can't individually disable web api's that provide no value to us. Yeah, that would give greater entropy to fingerprinting, but I'm willing to take that tradeoff if I could prevent webrtc, motion sensing, screen size detection, or web assembly e.g. except on selected whitelisted websites.

Re:Firefox 85 cracks down on supercookies by throwaway9d0291 on Wednesday January 27, 2021 @04:37AM (#25926127)
Doesn't the same argument apply to basically every security and privacy feature?

"No no no. The problem isn't unencrypted network connections, it's companies and people who use them in evil ways. I would rather handle that even if it's much harder."

Should we not have introduced HTTPS? Permission models on modern operating systems? 2-factor authentication?

What about Javascript makes it different to the problems solved by these other features?

Re:Firefox 85 cracks down on supercookies by DavideNL on Tuesday January 26, 2021 @03:57PM (#25920961)
Yea... You need either a law/sanctions, or a technical restriction that can't be circumvented.

Hopefully both, someday :)

Re:Firefox 85 cracks down on supercookies by xg15 on Tuesday January 26, 2021 @05:08PM (#25921621)
And how would you address this problem?
Re:Firefox 85 cracks down on supercookies by mikem170 on Tuesday January 26, 2021 @06:54PM (#25922495)
I browse in firefox with javascript turned off, in ublock, with a bunch of other restrictions [0], and temporary containers. I make exceptions for a couple dozen sites, like my bank, open street maps, etc. Youtube is my only soft spot here, the rest of google I keep blocked. I can make one-off exceptions to read a tab in front of me, but that's not routine, it's not hard to find sites that support this.

[0] https://github.com/pyllyukko/user.js

Re:Firefox 85 cracks down on supercookies by a1369209993 on Tuesday January 26, 2021 @07:35PM (#25922793)
> Youtube is my only soft spot here

http://youtube-dl.org/

Re:Firefox 85 cracks down on supercookies by nunez on Tuesday January 26, 2021 @08:55PM (#25923358)
How do you use the internet with JS turned off? Every time I try doing this, I undo it five seconds later because of so many sites breaking instantly. (I sometimes browse the web with w3m; sites blocking you because of no JS happens often)
Re:Firefox 85 cracks down on supercookies by boring_twenties on Tuesday January 26, 2021 @09:39PM (#25923615)
Many sites break instantly. If I care enough about those sites, I whitelist them. Otherwise I move on.

On the other hand, many sites work better with JS disabled: they load much faster, don't slow down scrolling, don't break copy & paste, and so on.

edit: I should probably make clear that I'm not the same user you responded to

Re:Firefox 85 cracks down on supercookies by mikem170 on Wednesday January 27, 2021 @12:32PM (#25931073)
I can usually find alternatives that works without javascript. Or I find sources outside of the big tracking companies, like openstreetmaps instead of google maps, etc.

I'm not a promiscuous browser, if I click on an interesting link and I get an empty page because it insists on javascript I close that tab and figure I saved myself from wasting my time on a crappy ad-tracking-infested website, so many of which are lame anyways.

That being said I do sometimes enable javascript temporarily on sites when I am desperately looking for some specific bit of info, then I reset back to my default-off when finished.

I've been doing this for a couple/few years, and it doesn't seem like a big deal to me. I'm happy to have that reminder that a site is irritating me insisting on javascript for no good reason, more often I go elsewhere and that suits me fine. It saves me from having to worry about so many nefarious things that go on in this space.

Why not give it a try? Ublock lets you default disable all javascript and enable it on the page you are looking at with a couple clicks, and edit/revert your list of rules whenever you want. You might be pleasantly surprised at how few times you need to fiddle with it after you set it up for your important sites.

Re:Firefox 85 cracks down on supercookies by CogitoCogito on Tuesday January 26, 2021 @05:11PM (#25921658)
Regulation seems appropriate.
Re:Firefox 85 cracks down on supercookies by kortilla on Tuesday January 26, 2021 @05:55PM (#25922010)
Regulation as a solution for problems on the Internet is pretty stupid because jurisdictions are so diverse.
Re:Firefox 85 cracks down on supercookies by silentbugs on Tuesday January 26, 2021 @09:06PM (#25923418)
But the reason you're not brute forcing passwords on your bank's e-banking system isn't because you can't or because they are super secure, it's because if you do you'll probably go to jail.

Also, good regulation is important to keep the big dogs on a leash and to have something to go after them when they don't behave.

Technological solutions will of course come, but you also need regulation, especially until the technological solutions come.

Re:Firefox 85 cracks down on supercookies by kortilla on Wednesday January 27, 2021 @10:00PM (#25937599)
> But the reason you're not brute forcing passwords on your bank's e-banking system isn't because you can't or because they are super secure, it's because if you do you'll probably go to jail.

No, this is really out of touch with how crime online works. People that want to hammer a bank rent botnets, use tor, vpns, etc.

Banks get absolutely zero protection from the law in that regard. It’s “illegal” but completely unenforceable to the point of being useless.

Re:Firefox 85 cracks down on supercookies by CogitoCogito on Tuesday January 26, 2021 @07:14PM (#25922630)
I’m confused by your response given that regulations are a _standard_ solution for problems on the internet.
Re:Firefox 85 cracks down on supercookies by Daho0n on Tuesday January 26, 2021 @05:23PM (#25921762)
So different website features per country? Or do you mean regulation decides how a browser implements it? Either way I don't see how that would ever work.
Re:Firefox 85 cracks down on supercookies by CogitoCogito on Tuesday January 26, 2021 @07:17PM (#25922661)
You are aware there are country-specific (or even more local) regulations covering companies today right? In fact essentially all regulations are. So why are you acting like my proposition is somehow unprecedented?
Re:Firefox 85 cracks down on supercookies by Daho0n on Wednesday January 27, 2021 @05:22AM (#25926432)
Because this is about websites, not companies. I'm not a company. Do my website use a different regulated subset of JavaScript than yours? If it is a company do they follow local rules or local for the hosting company? What about sites that incorporate sources from different locations? Do JavaScript library developers now have to create a version of their script for each countries regulation? Then the US regulation will decide the rules for all of the worlds JavaScript development and deployment. No, which technologies that can be used on a website doesn't belong at regulators but developers. What can and cannot be tracked and collected belongs at regulators.
Re:Firefox 85 cracks down on supercookies by CogitoCogito on Wednesday January 27, 2021 @12:19PM (#25930858)
I'm kind of confused here. Websites have to do everything you're saying today already. There are already different rules regarding data privacy, protected speech, etc. in different countries. How you choose to fulfill those obligations is up to you. But yes if your point is that it requires work to follow various different regulations, then of course you're correct. In fact, that's the whole point. The regulations are there to change your behavior in the market in question. We've had regulations across varying markets since pretty much time immemorial.
Re:Firefox 85 cracks down on supercookies by Daho0n on Friday January 29, 2021 @05:44AM (#25956004)
My point is that regulation of web standards and browser features isn't possible - regulation of data collected is. If you try to regulate the technology (supercookie, java Script, etc.) it isn't the collectee that gets in trouble with the law but the developers of the browsers, libraries and websites like Mozilla, jQuery and "me". Regulating browser features is like regulating the maximum speed of cars. The ones punished for a "too fast Lamborghini" would then be the factory, not the owner driving 40 miles an hour. In other words if the US says a Lamborghini must have a maximum speed below 50mph, the EU says 80mph and a tiny island somewhere says 300mph, where do you think Lamborghini will incorporate the part of their factory that gets their cars certified? Then we have a run to the bottom like with tax evasion and the small developer gets strangled. Regulation doesn't belong on things like supercookies but on what you collect with them.
Re:Firefox 85 cracks down on supercookies by TaylorAlexander on Tuesday January 26, 2021 @07:53PM (#25922912)
Isn’t it obvious? Most companies subject to regulations are physically located somewhere. It’s much harder to enforce regulations against companies that operate in every global jurisdiction at once.
Re:Firefox 85 cracks down on supercookies by CogitoCogito on Tuesday January 26, 2021 @08:14PM (#25923068)
There are like 3 companies that do the vast majority of advertising. They have operations in countries they do business with. Do you think they’re hard to track down? Web tracking has consolidated over time hence enforcement is _easier_.
Re:Firefox 85 cracks down on supercookies by sjwright on Wednesday January 27, 2021 @03:13AM (#25925580)
"Regulation" mandated stupid cookie consent overlays on every damn European website. Thanks, regulation.
Re:Firefox 85 cracks down on supercookies by account42 on Wednesday January 27, 2021 @05:07AM (#25926318)
There is no regulation mandating cookie consent overlays - websites are free to not abuse cookies to track their users.
Re:Firefox 85 cracks down on supercookies by alentist on Thursday January 28, 2021 @10:25PM (#25953433)
> There is no regulation mandating cookie consent overlays

Yes there is. A mugging is still a mugging even if the victim is "free" to give their wallet.

> websites are free to not abuse cookies to track their users.

You're free to not use such websites.

I dislike tracking and avoid being tracked myself. But this absolutely is a regulation and it's immensely disingenuous to pretend otherwise.

Re:Firefox 85 cracks down on supercookies by tremon on Wednesday January 27, 2021 @06:59AM (#25927151)
Nope, only on those that intend to abuse your personal information.
Re:Firefox 85 cracks down on supercookies by sjwright on Friday January 29, 2021 @05:28PM (#25963583)
This is false, albeit depending on how broadly you define “personal information”. Regardless, the effect of the law has been clear.
Re:Firefox 85 cracks down on supercookies by alentist on Thursday January 28, 2021 @10:28PM (#25953461)
Yep, the regulation applies to all websites that use cookies.
Re:Firefox 85 cracks down on supercookies by CogitoCogito on Wednesday January 27, 2021 @03:42AM (#25925733)
Does the fact that some regulations are ineffective imply that all are?
Re:Firefox 85 cracks down on supercookies by alentist on Tuesday January 26, 2021 @03:36PM (#25920741)
Yes yes yes. Luckily for us, these problems are technically solvable, no handling (?) "evil ways" (?) needed. The latter proposal is both ill-defined and a waste of time and resources. Better to spend those resources on designing more secure systems.
Re:Firefox 85 cracks down on supercookies by goflyapig on Tuesday January 26, 2021 @06:37PM (#25922354)
It sounds like they're talking about ETags [1] here. I don't think JavaScript has anything to do with it.

[1] https://en.wikipedia.org/wiki/HTTP_ETag#Typical_usage

Re:Firefox 85 cracks down on supercookies by yc12340 on Wednesday January 27, 2021 @12:07AM (#25924532)
ETags and Last-Modified headers can be used for long-term user tagging, but without Javascript they provide a lot less value in terms of tracking.

Suppose, that you are visiting a web site with Evil Embedding (an iframe tag or script, that loads Evil Resource on behalf of advertiser). If your browser requests Evil Resource without telling advertiser the name of top-level site, the advertiser gets little. They get to know, that user 9062342154 is online and they are asking for Evil Resource X, but that's all. They can't even tell, which specific website is being visited!

The real problems start, when the top level web site cooperates with advertiser by running a Javascript "bridge", that acts both as an arbiter and a communication channel for siphoning your information. In addition to transferring information, the bridge acts as anti-fraud measure to confirm, that there is no foul play on the part of web site operator. Since the script is Turing-complete and can be updated anytime, there is no way to restrict it's actions.

Re:Firefox 85 cracks down on supercookies by pflanze on Wednesday January 27, 2021 @08:32AM (#25927998)
> If your browser requests Evil Resource without telling advertiser the name of top-level site, the advertiser gets little.

But the advertiser will get the referrer so will know the domain name?

(And if they didn't, they could require the site operator to include the site name in the resource URL.)

Re:Firefox 85 cracks down on supercookies by simias on Tuesday January 26, 2021 @06:45PM (#25922420)
Ooh, that's interesting. The way it was described made me think that you needed some JS to check if the data was in cache or not.

I guess it's probably a bad idea to let the browser send this type of potentially unique info to the server by default, but I understand how it makes sense from a performance perspective.

As far as I'm concerned privacy should always trump performance, but I realize that not everybody shares this point of view.

Re:Firefox 85 cracks down on supercookies by fimbulvetr on Tuesday January 26, 2021 @05:26PM (#25921782)
Somewhat off topic but have you see all of the recent (2 years) malware using webassembly? It's difficult to disable in chrome, somewhat difficult to disable in firefox, and no extensions seem to help. I'd love make it as easy to disable as JS.
Re:Firefox 85 cracks down on supercookies by dotancohen on Tuesday January 26, 2021 @06:49PM (#25922448)
Webassembly is about to become as necessary for browsing the modern web as Javascript is today. For much of the same reasons: you must keep it on to be tracked, so it will be "made necessary" on as much of the commercial web as possible.
Re:Firefox 85 cracks down on supercookies by bilinguliar on Wednesday January 27, 2021 @05:52AM (#25926638)
No surprise WebAssembly is disabled in Chrome on OpenBSD.
Re:Firefox 85 cracks down on supercookies by austincheney on Tuesday January 26, 2021 @06:33PM (#25922322)
> Note that the root of all evil here is Javascript

Not exactly.

The root of all evil here is HTTP. You don’t need any JavaScript to plant cookies or other tracking assets. As a proof this technique is used to track users in email, such as embedding a 1 pixel image in an email retrieved via HTTP.

Re:Firefox 85 cracks down on supercookies by bluGill on Tuesday January 26, 2021 @07:10PM (#25922591)
Which is why I turn off HTML email by default, and even when I turn it on for one message images are not loaded except by a second step. I rarely get to the first step and even less often the second.
Re:Firefox 85 cracks down on supercookies by bromuro on Wednesday January 27, 2021 @08:10AM (#25927768)
HTML should be an opt-in too! :)
Re:Firefox 85 cracks down on supercookies by tannhaeuser on Tuesday January 26, 2021 @06:16PM (#25922187)
It didn't sound reasonable when JavaScript was introduced, and it didn't sound reasonable with WASM, yet here we are.
Re:Firefox 85 cracks down on supercookies by musicale on Tuesday January 26, 2021 @06:05PM (#25922090)
This is what tempers my enthusiasm for WebAssembly - it will undoubtedly be used for all sorts of user-hostile and malicious activity.
Re:Firefox 85 cracks down on supercookies by eeZah7Ux on Tuesday January 26, 2021 @08:07PM (#25923015)
...and with zero accountability. Any website can push 10MB of obfuscated, debugger-resistant, code on your computer.

Obfuscated to resist ad-blockers and anti-tracking features.

Re:Firefox 85 cracks down on supercookies by throwaway525142 on Tuesday January 26, 2021 @08:26PM (#25923144)
asm.js was a thing before WebAssembly, with the same downsides, except maybe a little less browser support for debugging, inspecting, etc. asm.js was able to exist without browser support in Chrome, so WebAssembly support doesn't really bring anything new to the table.

At least that's how I understand it, care to give ideas why it's not a positive change? :)

Re:Firefox 85 cracks down on supercookies by eeZah7Ux on Wednesday January 27, 2021 @01:51PM (#25932201)
> care to give ideas why it's not a positive change?

What I wrote above: it's going to encourages 10x more bloated and obfuscated websites.

Apart from the security and privacy issues, it will make the web even less accessible to users with slower Internet connections (some 2bln people) and visually-impaired users.

Re:Firefox 85 cracks down on supercookies by namibj on Wednesday January 27, 2021 @08:02AM (#25927672)
WASM is fast enough that you can internally sell it as "speed improvement" to keep your developers happy and who else might question your intentions. asm.JS tends to be slower than direct JS.
Re:Firefox 85 cracks down on supercookies by eeZah7Ux on Tuesday January 26, 2021 @08:03PM (#25922987)
> Letting any website and their friends (and the friends of their friends) run turing complete code on the client PC probably sounded reasonable when the web was created

No, it was already very unreasonable, especially as the browsers of the time had even worse sandboxing than now.

Re:Firefox 85 cracks down on supercookies by amanzi on Tuesday January 26, 2021 @06:24PM (#25922256)
Couldn't this particular trick be done purely server-side?
Re:Firefox 85 cracks down on supercookies by nicklaf on Tuesday January 26, 2021 @06:02PM (#25922066)
This is why I whitelist Javscript on a per-subdomain basis. I think NoScript does this but I use a simpler extension[0] and then rely on uBlock origin and multi account containers for privacy once I've whitelisted sites.

[0] https://addons.mozilla.org/en-US/firefox/addon/disable-javas...

Re:Firefox 85 cracks down on supercookies by gorhill on Wednesday January 27, 2021 @07:06AM (#25927213)
In case you are not aware, uBO also allows to wholly disable/enable JS on a per-site basis.[1]

---

[1] https://github.com/gorhill/uBlock/wiki/Per-site-switches#no-...

Re:Firefox 85 cracks down on supercookies by nicklaf on Wednesday January 27, 2021 @08:03AM (#25927689)
Ah, brilliant! Thanks for pointing that out to me (and for uBO).
Re:Firefox 85 cracks down on supercookies by nalekberov on Tuesday January 26, 2021 @10:27PM (#25923880)
Well, I agree with you, but to be honest it's not Javascript, it's Web APIs gave a lot opportunities to surveillance capitalists.

But even if you turn off Javascript, you are not invisible or untraceable, you are just getting a little harder to be tracked. I don't wanna name anyone, but there are tons of famous websites that tracks by including <img> tags and referencing pixel trackers.

I usually browse with JS turned off, it's blazingly fast, and, well most websites work without any significant drawbacks.

Re:Firefox 85 cracks down on supercookies by scott_w on Wednesday January 27, 2021 @09:39AM (#25928768)
Firefox explicitly talks about abusing IMAGE caches and you’re waffling about JS. The two things are not related here so stop trying to conflate them.
Re:Firefox 85 cracks down on supercookies by tremon on Wednesday January 27, 2021 @01:23PM (#25931803)
The image caches offer no means to identify individual users unless you're able to re-parse the client side (cached) data. Guess what component is essential to perform that client-side parsing?
Re:Firefox 85 cracks down on supercookies by scott_w on Wednesday January 27, 2021 @03:28PM (#25933493)
So tracking pixels in email clients aren’t a thing? Trust me, people will find ways around it without JS. Reinventing Flash, for a start.
Re:Firefox 85 cracks down on supercookies by yc12340 on Wednesday January 27, 2021 @10:08PM (#25937646)
Yes, tracking pixels aren't a thing (anymore).

Gmail no longer loads them. Thunderbird no longer loads them. Most providers, offering online email, have already caught on.

> Trust me, people will find ways around it without JS. Reinventing Flash, for a start.

There is no need for that. Why bother, when you can write a mobile app in proper computer language and eliminate the middleman (browser)?

Re:Firefox 85 cracks down on supercookies by scott_w on Sunday February 07, 2021 @02:47AM (#26053403)
The fact Flash existed disproves your hypothesis.
Re:Firefox 85 cracks down on supercookies by exporectomy on Wednesday January 27, 2021 @04:18AM (#25925982)
Turing completeness isn't the problem. If Javascript was one of those non-Turing-complete languages that don't have loops, etc. then it could still be used to track people. I think you're using that term to make your opinion sound powerful, but the power comes from what it has access to.