News for hackers. Stuff that matters.
Re:Cover Your Tracks by alquemist on Friday November 20, 2020 @08:09PM (#25167040)
What I want for Christmas is javascript disabled by default, plus one-click ability to enable for specific sites.

Random browsing => no javascript.

Play a browser game => javascript.

I have this today with Flash, would be nice to have it for all client-side code execution.

Re:Cover Your Tracks by n0nc3 on Friday November 20, 2020 @08:12PM (#25167064)
Re:Cover Your Tracks by alquemist on Friday November 20, 2020 @08:21PM (#25167097)
Christmas came early this year :) Thanks!
Re:Cover Your Tracks by eindiran on Friday November 20, 2020 @08:47PM (#25167241)
For anyone considering taking the dive: NoScript takes a bit of time to get used to, but stick with it. You'll build up some things you are happy to whitelist, plus always have the backup option of disabling temporarily within a tab. In a week or two, your new workflow will feel completely natural.
Re:Cover Your Tracks by rakoo on Friday November 20, 2020 @10:26PM (#25167664)
Another user here, and things weren't so smooth. Everytime you reach a new website you'll need to change rules and reload it. It's ok if you're always going to the same sites, but if you always discover new places (and I believe HN participates in that) it's a constant weight to lift. Always useful, but still not natural IME.
Re:Cover Your Tracks by dylan604 on Friday November 20, 2020 @11:26PM (#25167870)
It gets a lot easier if you only allow self-hosted JS. Block any JS loaded from a domain other than the one you are actually visiting. If the site I am visiting cannot function properly from self-hosted JS, then I move right along. It has to be a webiste I'm really interested in for me to even consider allowing 3rd party JS.
Re:Cover Your Tracks by smittywerben on Saturday November 21, 2020 @01:29AM (#25168190)
I've been whitelisting JavaScript since No-Script was new. I've used uMatrix recently but with it's end-of-development[0] I am considering switching back. I grew tired of having some shitty virus dropped to %appdata% for the N-th time loading a web page, exempli gratia [1]

It's gotten a lot more annoying the last several years with 5mb webpages. Backing up the whitelist saves a lot of time.

For perspective, I use 4 separate profiles (--user-data-dir) listed in descending order of how annoying they are for me to use.

1). School browser: Chrome + uBlock origin

2). Shopping/low security (when the payment processor is an iFrame and I don't want to refresh...): Firefox + uBlock origin + CanvasBlocker

3). General browsing like browsing Google or YouTube: Chrome + uBlock Origin + uMatrix

4). VPN browser: Chrome + uBlock origin + uMatrix + CookieAutoDelete + VPN extension

I've gone from 2 browsers (Firefox + IE6) to 4 browsers (Firefox, Chrome1, Chrome2, Chrome3). By 2030 I'll be running 16 browsers in a virtual machine on a remote server that I connect to with my browser browser.

[0] https://www.ghacks.net/2020/09/20/umatrix-development-has-en...

[1] http://forums.mozillazine.org/viewtopic.php?f=38&t=368230 (2006)

Re:Cover Your Tracks by marcthe12 on Saturday November 21, 2020 @09:14AM (#25169838)
I wish these extensions could integrate with Firefox containers. Work and schools can easily ask people to use new sites which can not avoid and in that case it's best to defer to later day or just not fight with extensions.
Re:Cover Your Tracks by fuzxi on Friday November 20, 2020 @11:54PM (#25167937)
I'd recommend uMatrix instead. It largely (completely?) supersedes NoScript, and I find the UI to be much easier to work with. It also has better granularity of exactly what you want blocked/allowed.
Re:Cover Your Tracks by rakwoelq on Saturday November 21, 2020 @01:03AM (#25168109)
uMatrix development has ended though, no more updates will arrive.
Re:Cover Your Tracks by fuzxi on Saturday November 21, 2020 @01:42AM (#25168228)
It hadn't had a stable release for a year at the point when the repo was archived, because it's more-or-less feature-complete and has no major bugs. 90% of the open github issues [1] were enhancement or documentation requests.

No updates is not necessarily a bad thing. Sometimes things work well enough to leave alone.

[1]: https://github.com/uBlockOrigin/uMatrix-issues/issues

Re:Cover Your Tracks by dehrmann on Saturday November 21, 2020 @01:53AM (#25168255)
Every once in a while there's a site that will refuse to work with uMatrix enabled, even if I manually allow everything and disable spoofing.
Re:Cover Your Tracks by fuzxi on Saturday November 21, 2020 @02:28AM (#25168339)
I've noticed this too. Every time, it was solved by disabling uBlock.
Re:Cover Your Tracks by l33tman on Saturday November 21, 2020 @05:38AM (#25168927)
I use umatrix all the time and there are multiple sites where it doesn't work. I think part of the problem is that not all requests are actually shown in the drop-down for you to enable them. Maybe a popup or frame causes umatrix to miss it etc. For a blocker where the default mode is "block everything", it makes sense that this failure mode would be the dominant..
Re:Cover Your Tracks by fuzxi on Saturday November 21, 2020 @05:08PM (#25173108)
Have you used the built-in logger to confirm that it's actually uMatrix and not another extension? I typically have this issue and then find that the fault was with a uBlock filter.
Re:Cover Your Tracks by bmn__ on Saturday November 21, 2020 @05:43AM (#25168941)
uBlock Origin in "advanced mode" is nearly the same.
Re:Cover Your Tracks by quesera on Friday November 20, 2020 @08:20PM (#25167092)
> What I want for Christmas is javascript disabled by default, plus one-click ability to enable for specific sites.

uBlock Origin solves this in two clicks. WFM.

Re:Cover Your Tracks by alquemist on Friday November 20, 2020 @08:28PM (#25167148)
It does! I had to manually disable Javascript in UO settings, which solved the problem for me. FWIW, it doesn't solve the problem at scale, per opt-in / opt-out dynamics. It's a feature worth building into the browser, and setting it to disable JS by default. Make site owners ask for permission to use JS, and they better have a good reason.
Re:Cover Your Tracks by alquemist on Friday November 20, 2020 @08:44PM (#25167217)
And yet, not enough:

> Your browser fingerprint appears to be unique among the 2xx,xxx tested in the past 45 days.

> Currently, we estimate that your browser has a fingerprint that conveys at least 18.xx bits of identifying information.

Biggest offenders: USER AGENT and HTTP_ACCEPT HEADERS. Especially the USER AGENT is crazy, 9 digit browser version to everyone who asks?!

Re:Cover Your Tracks by eindiran on Friday November 20, 2020 @08:51PM (#25167265)
Use an extension to spoof your user-agent string. Something like this: https://addons.mozilla.org/en-US/firefox/addon/user-agent-st...
Re:Cover Your Tracks by alquemist on Friday November 20, 2020 @11:04PM (#25167799)
Thanks. What is the most common user agent out there?

Sadly, this is of limited use. Defense against fingerprinting is like herd immunity. If everybody else already has a unique fingerprint, there is not much an individual can do to avoid being uniquely identified as well. At most one can spoof one other unique individual. Plus the EFF recommendation is 'latest Chrome on Windows' which is a moving target.

Would be nice if the EFF site in OP would recommend an agent id to spoof to, at least that would help building a small, but non trivial herd of indistinguishable users. And then a popular extension like uBlock Origin would track this agent id and set it by default for all its users.

Edit: list of top UAs:

https://techblog.willshouse.com/2012/01/03/most-common-user-...

Re:Cover Your Tracks by ulucs on Saturday November 21, 2020 @01:42AM (#25168227)
If you give random UA's to websites, you cannot be tracked between them even if you're unique
Re:Cover Your Tracks by e_proxus on Saturday November 21, 2020 @03:08AM (#25168444)
You can still be tracked with all your other identifying bits. Especially if your the only one who’s doing this.
Re:Cover Your Tracks by encom on Saturday November 21, 2020 @05:40AM (#25168929)

    privacy.resistFingerprinting = 1
Among many other things, it sets UA to the LTS release, and `HTTP_ACCEPT` to a vanilla en-US string.
Re:Cover Your Tracks by chappi42 on Saturday November 21, 2020 @09:11AM (#25169824)
Unfortunately breaks windy :-(
Re:Cover Your Tracks by TedDoesntTalk on Friday November 20, 2020 @11:06PM (#25167804)
> It's a feature worth building into the browser, and setting it to disable JS by default

Brave does this.

Re:Cover Your Tracks by stickfigure on Friday November 20, 2020 @11:31PM (#25167889)
I use a Chrome extension called "Quick Javascript Switcher". If you click the icon in the bar, it switches JS off/on for the domain - using Chrome's built-in allow/block list for JS.

I honestly could not live without it. At this point I have pretty much every news and recipe site on the internet blocked. Visiting a new site, as soon as I hear my fan spinning up I reach for the "no-JS" button and the page suddenly becomes responsive again.

I'm not quite to the "no JS as default" level but I'm close.

Re:Cover Your Tracks by Rivosa on Saturday November 21, 2020 @01:15PM (#25171487)
Genuine question: Why use Chrome?

Google themselves admited they are an ad company rather than a search engine company. Why use a browser by a company where their main revenues are ads.

Re:Cover Your Tracks by stickfigure on Saturday November 21, 2020 @08:07PM (#25173977)
I don't care? Of all the evils in the world, I just don't think advertising warrants much concern.

I am tempted to use Firefox more to avoid browser monoculture. But Chrome pretty much just works.