Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

102
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!