Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

100
Vistas
Any way to generate a unique and predictable id of the local computer in JavaScript/Angular?

We have several computers running Microsoft Edge (no option to change the browser).

We have a central web server with pages created for each individual computer. I want users of these computers to be able to enter a single URL and be redirected to the specific page for that computer. So if I enter www.foo.com on computer A, I want to be redirected to the page www.foo.com/A.

In the past there seems to have been a way to do this by getting the private IP via WebRTC in Chrome and Firefox: Can You Get A Users Local LAN IP Address Via JavaScript?

That would also work in our case, but from what I read it is no longer possible in most browsers and has never been possible with Edge, and it indeed does not work when I try it.

We could theoretically run a service on each computer that we can fetch the ip from but that is not an option for many practical reasons.

But it doesn't need to be the IP, any unique identifier would do. Is there ANY way of generating an id that would be unique to each computer and also predictable in the backend?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

It's possible to identify computer through MacAddress and there was a way to get mac address in old versions of IE(through ActiveX, you can find solutions), but now it's not possible and there is a reason for that - security.

I think, you should place this logic about redirecting to the server, e.g. for nginx you can add list of rules where you can tell, where every mac address should go.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda