I've recently been exploring options for allowing web apps to access LAN services. For example, a WebDAV server so you can watch local videos in the app without streaming them through a server.
You can actually achieve a form of discovery if your service registers itself using mDNS for something like `service.local`. Browsers will allow direct navigation/redirection to `http://service.local`, but they'll block any fetch/XHR requests due to mixed content rules, even if you have CORS configured. And of course you can't get a cert for `.local` domains.
Newer things like Chrome's LNA[0] are actually really helpful, because (for now at least) if the user grants the permission, fetch/XHR will go through, but you'll get a bunch of mixed content warnings in the console.
It seems like the only way to fully support this use case currently is with WebRTC, which is pretty sad.
> Meta must face a lawsuit alleging that it secretly tracked Android users' browsing activity on mobile websites that embedded Meta's analytics pixel, and linked that activity to users' identities, a federal judge ruled Monday.
> The decision, issued by U.S. District Court Judge Rita Lin in San Francisco, grew out of a class-action complaint initially brought last June by California resident Devin Rose (and later joined by other Android users).
> Rose alleged that between September 2024 and June 2025, Meta exploited Android's localhost -- a feature that allows software developers to test applications -- to connect users’ mobile web browsing to their Facebook and Instagram profiles.
Not at all to defend Meta but "a feature that allows software developers to test applications" is a dubious definition of localhost. I also can't come up with a better one.
> UPDATE: As of June 3rd 7:45 CEST, Meta/Facebook Pixel script is no longer sending any packets or requests to localhost. The code responsible for sending the _fbp cookie has been almost completely removed. Yandex has also stopped the practice we describe below.
I honestly don't think the average Google Chrome user knows what a 'local' device is, and we should go something more ELI5 "This website wants to spy on every other device connected to your network" or something
I've seen it and at least in Chrome it seems to be treating all URLs which are based on an IP address as "local", regardless of the class of the address.
I'd be inherently suspicious of any website in the wild attempting to contact a bare IP address. Aside from localhost, my default assumption would be that such a website is either trying to circumvent my hosts file (or circumvent my other DNS configuration, e.g. pi-hole or DNS-over-HTTPS), malware trying to reach a command-and-control server, or malware trying to circumvent my adblocker.
i would love to have a software engineer's union, not so much to get better working conditions but to be able to say stuff like "i can't implement that unethical feature, it's against union rules and i'd lose my membership".
To be fair; you don't need a union... you can just say no. Context; I told them they couldn't ship this exact feature as designed. (It worked until I left.)
yes, true sometimes (not always). but if more people have access to a way to confidently say "no" (with protection behind them), then i think saying "no" would happen more often, by people who might've otherwise complied.
are there examples of unions that have started around a focus on the ethics of the services they provide? unions traditionally start locally, around issues for which the locality is a hotspot, which is why they usually focus on pay and working conditions. it's also easier to get a large group to agree on a set of improvements to working conditions vs a set of ethical boundaries.
maybe, but the union could provide a lot of services to someone who loses their job this way (like income insurance and legal services) and could leverage collective power over companies that demonstrate a pattern of behavior.
This is something that has just never sat well with me. How exactly will the union provide this insurance? That insurance isn't free, so paid for by member dues? How many members are required to be able to afford the payout for just one member? How about the other services unions are touted as being able to provide? They all come from the same dues? I know that unions will put money into investment funds to attempt to grow the coffers, but that just means the money isn't liquid.
Unions are always touted as a panacea, but logically, it doesn't compute for me. They feel more like ponzi schemes than anything else.
> This is something that has just never sat well with me. How exactly will the union provide this insurance? That insurance isn't free, so paid for by member dues?
that's definitely a big question and i don't pretend to have enough expertise to answer fully; however, i will point to the Ontario Teacher's Pension Plan which is (per Wikipedia[1]) "one of the world's largest institutional investors [...] over $266 billion in net assets, with a one-year total-fund net return of 9.4%, and a 7.4% 10-year total-fund net return". the union runs their own investment fund; it's an extension of collective power into the financial realm.
Yes, obviously. A question not asked as assumed a natural part of the thinking process is how many members does it take to get to the center of a tootsie pop? Just because other unions exists does not mean that the one that techBro Norma Rae starts is going to remain viable. How many claims can be paid out before the insurance no longer pays out? Lots of conversation left after your trite yes obviously unhelpful comment
You can say that about a lot of things. The car was already invented, but so many new car companies struggle. Just because a thing exists does not mean someone else can come along to immediately become successful with thing.
It's not defeatism. It's doing the research to avoid unnecessary failure from over ambitiousness getting in the way of doing something the right way. This isn't a Show HN situation where you go and get some VC funding and yolo your way through it. This is something that if it's not done right it could have a greater blast radius than some VC funded startup shutting down with a "What we've learned" blog post.
Makes sense, but I haven't seen in the comments the signs of research having been done. Or maybe you were hoping that I am doing the research for you, while you brainstorm how it can't work? I am an union member, albeit not in the US, and for me it looks fine. Sample size of 1, but a sample which says it does work. Take this information as you wish.
i don't believe that software development should require a license. imagine having to get board-licensed to download gcc; therein lies the death of free software and owning your devices.
I've recently been exploring options for allowing web apps to access LAN services. For example, a WebDAV server so you can watch local videos in the app without streaming them through a server.
You can actually achieve a form of discovery if your service registers itself using mDNS for something like `service.local`. Browsers will allow direct navigation/redirection to `http://service.local`, but they'll block any fetch/XHR requests due to mixed content rules, even if you have CORS configured. And of course you can't get a cert for `.local` domains.
Newer things like Chrome's LNA[0] are actually really helpful, because (for now at least) if the user grants the permission, fetch/XHR will go through, but you'll get a bunch of mixed content warnings in the console.
It seems like the only way to fully support this use case currently is with WebRTC, which is pretty sad.
[0]: https://developer.chrome.com/blog/local-network-access
> Meta must face a lawsuit alleging that it secretly tracked Android users' browsing activity on mobile websites that embedded Meta's analytics pixel, and linked that activity to users' identities, a federal judge ruled Monday.
> The decision, issued by U.S. District Court Judge Rita Lin in San Francisco, grew out of a class-action complaint initially brought last June by California resident Devin Rose (and later joined by other Android users).
> Rose alleged that between September 2024 and June 2025, Meta exploited Android's localhost -- a feature that allows software developers to test applications -- to connect users’ mobile web browsing to their Facebook and Instagram profiles.
May 12, 2026
Not at all to defend Meta but "a feature that allows software developers to test applications" is a dubious definition of localhost. I also can't come up with a better one.
“A network interface which allows processes on the same internet host to communicate without the need for a network connection”
There's a lot of layperson-unfriendly words in there! Iterating on that:
"A feature that allows multiple programs on the same device to communicate without the need for an internet connection"
docket: https://www.courtlistener.com/docket/70448987/in-re-meta-and...
im failing to see the connection
>standard pixel tracking, linked to meta (js , web)
>Meta exploited Android's localhost (os level)
Looks like they stopped doing it
https://localmess.github.io
> UPDATE: As of June 3rd 7:45 CEST, Meta/Facebook Pixel script is no longer sending any packets or requests to localhost. The code responsible for sending the _fbp cookie has been almost completely removed. Yandex has also stopped the practice we describe below.
Chrome and Firefox have deployed / are deploying local-network-access which prompts the user when apps try this.
Any idea if Safari is on board?
I guess that's why I am getting so many "Allow to find devices on your network" alerts. Good feature overall.
Only a good feature if users have a clue what that question means. Most will click "Yes" because they want to get on with whatever they want to do.
Change it to something like "This website is trying to spy on your local devices, do you want to allow this?"
I honestly don't think the average Google Chrome user knows what a 'local' device is, and we should go something more ELI5 "This website wants to spy on every other device connected to your network" or something
Ah, THAT's what that is. They really need to shift the message from the BROWSER is trying to find devices to the WEBSITE is trying to find devices.
I just discovered that MacOS was blocking Firefox from connecting to devices on my LAN - there's per-app toggle in system settings.
Access to my router's web interface was not blocked (understandably) but this left me rather confused for a while.
I was just about to say that my question in regards to this was "what are web browsers doing about it?"
I've seen it and at least in Chrome it seems to be treating all URLs which are based on an IP address as "local", regardless of the class of the address.
I'd be inherently suspicious of any website in the wild attempting to contact a bare IP address. Aside from localhost, my default assumption would be that such a website is either trying to circumvent my hosts file (or circumvent my other DNS configuration, e.g. pi-hole or DNS-over-HTTPS), malware trying to reach a command-and-control server, or malware trying to circumvent my adblocker.
Off topic: I wonder how hard it is to poison this type of data gathering?
A timely question. Hopefully someone will share the recent Order and Third Amended Complaint
Since that discussion in 2025
Rose v Meta was consolidated with some other privacy cases against Meta
A first amended complaint was filed,^1 Google was added as a defendant
Defendants motion to dismiss was denied
A third amended complaint was filed on Monday
Here are the PDFs
1.
1st amended complaint
https://dn711508.ca.archive.org/0/items/gov.uscourts.cand.45...
Meta motion to dismiss
https://dn711508.ca.archive.org/0/items/gov.uscourts.cand.45...
Google motion to dismiss
https://dn711508.ca.archive.org/0/items/gov.uscourts.cand.45...
Plaintiffs response
https://dn711508.ca.archive.org/0/items/gov.uscourts.cand.45...
Meta reply
https://dn711508.ca.archive.org/0/items/gov.uscourts.cand.45...
Google reply
https://dn711508.ca.archive.org/0/items/gov.uscourts.cand.45...
Order
(Payment required)
https://pacer.login.uscourts.gov/csologin/login.jsf?pscCourt...
2nd amended complaint
(Payment required)
https://pacer.login.uscourts.gov/csologin/login.jsf?pscCourt...
i would love to have a software engineer's union, not so much to get better working conditions but to be able to say stuff like "i can't implement that unethical feature, it's against union rules and i'd lose my membership".
To be fair; you don't need a union... you can just say no. Context; I told them they couldn't ship this exact feature as designed. (It worked until I left.)
yes, true sometimes (not always). but if more people have access to a way to confidently say "no" (with protection behind them), then i think saying "no" would happen more often, by people who might've otherwise complied.
Without the protection of a union, "just saying no" is a good way to get fired
Start one. Unions are worker owned. You could also join the IWW.
are there examples of unions that have started around a focus on the ethics of the services they provide? unions traditionally start locally, around issues for which the locality is a hotspot, which is why they usually focus on pay and working conditions. it's also easier to get a large group to agree on a set of improvements to working conditions vs a set of ethical boundaries.
Unions in the US are nerfed, by law.
Collective bargaining is nerfed. Other structures remain viable and legal.
Are you not allowed to leave the US?
I'd wonder how you'd get into that arrangement to begin with when the entire job is based on unethical tracking
Take a lead, let me sign up :)
And this is why we don't have one. Someone else is expected to do the hard part.
same
You don't need to join a union to push back against unethical feature requests.
The collective leverage of a union gives you significantly more power to do something like this.
Only if the union is against the unethical request. In some cases the union may be for it, which makes it even harder to push back.
> You don't need to join a union to push back against unethical feature requests.
If you push back against unethical feature requests:
No union: you get fired
Union: you still get fired
Still a better outcome than tossing your ethics overboard.
Why bother to join a union, pay dues, potentially have your career limited, and have another layer to deal with?
Just leave or be fired without the song and dance.
Because you’re a person who cares about your fellow citizens and realize that collectively bargaining helps to lift all boats, not just yours
union strong, bro.
maybe, but the union could provide a lot of services to someone who loses their job this way (like income insurance and legal services) and could leverage collective power over companies that demonstrate a pattern of behavior.
This is something that has just never sat well with me. How exactly will the union provide this insurance? That insurance isn't free, so paid for by member dues? How many members are required to be able to afford the payout for just one member? How about the other services unions are touted as being able to provide? They all come from the same dues? I know that unions will put money into investment funds to attempt to grow the coffers, but that just means the money isn't liquid.
Unions are always touted as a panacea, but logically, it doesn't compute for me. They feel more like ponzi schemes than anything else.
> This is something that has just never sat well with me. How exactly will the union provide this insurance? That insurance isn't free, so paid for by member dues?
That is how all unions were born.
That's great insight. Thanks for contributing.
that's definitely a big question and i don't pretend to have enough expertise to answer fully; however, i will point to the Ontario Teacher's Pension Plan which is (per Wikipedia[1]) "one of the world's largest institutional investors [...] over $266 billion in net assets, with a one-year total-fund net return of 9.4%, and a 7.4% 10-year total-fund net return". the union runs their own investment fund; it's an extension of collective power into the financial realm.
https://en.wikipedia.org/wiki/Ontario_Teachers%27_Pension_Pl...
That is only a pension plan. It provides no insurance to teachers who are still employed.
> That insurance isn't free, so paid for by member dues?
Yes, obviously. That's how every insurance works.
Yes, obviously. A question not asked as assumed a natural part of the thinking process is how many members does it take to get to the center of a tootsie pop? Just because other unions exists does not mean that the one that techBro Norma Rae starts is going to remain viable. How many claims can be paid out before the insurance no longer pays out? Lots of conversation left after your trite yes obviously unhelpful comment
Simple idea: look how other unions work, and in other countries as well. The wheel has already been invented.
You can say that about a lot of things. The car was already invented, but so many new car companies struggle. Just because a thing exists does not mean someone else can come along to immediately become successful with thing.
The question as I took it was "I can't imagine how this can work". Interpreting it as anything else is defeatism and I won't entertain that.
It's not defeatism. It's doing the research to avoid unnecessary failure from over ambitiousness getting in the way of doing something the right way. This isn't a Show HN situation where you go and get some VC funding and yolo your way through it. This is something that if it's not done right it could have a greater blast radius than some VC funded startup shutting down with a "What we've learned" blog post.
Makes sense, but I haven't seen in the comments the signs of research having been done. Or maybe you were hoping that I am doing the research for you, while you brainstorm how it can't work? I am an union member, albeit not in the US, and for me it looks fine. Sample size of 1, but a sample which says it does work. Take this information as you wish.
I didn't get fired.
That’s what licensing is for, not unions.
i don't believe that software development should require a license. imagine having to get board-licensed to download gcc; therein lies the death of free software and owning your devices.
> therein lies the death of free software and owning your devices
(That’s what these people want)
A union could absolutely get involved in something like this.
> not so much to get better working conditions but
... why not both?
[dead]