4 ms·
The JavaScript function Media devices.getUserMedia() will do this, and also includes screen sharing possibilities. It will ask the user for permission first but
by fragmede 5y ago
The JavaScript function Media devices.getUserMedia() will do this, and also includes screen sharing possibilities. It will ask the user for permission first but in a test situation, there's high pressure to accept those permissions or fail the test.
- matheusmoreira 5y agoI see. Okay. So we need to patch that funtion to make them think it's working. I wonder if there's an extension for that.
- Deukhoofd 5y agoJust set up a fake webcam
- matheusmoreira 5y agoWill that work with screen shots and screen sharing?
- Deukhoofd 5y agoShould be similar, but you might need to set up some hacks to spoof the browser in thinking it's the screen. https://testrtc.com/manipulating-getusermedia-available-devices/ https://testrtc.com/manipulating-getusermedia-available-devi...
- imajoredinecon 5y agoNo, but other client-side measures could.
- emidln 5y agoThey are giving you javascript which executes on your machine in a browser you control. You can override those APIs do do whatever you want. In my teens, this would probably have served up goatse. Now it's likely to get a picture of a stick figure labeled with my name. They might get upset about defeating the webcam. They probably won't hire you. Whether you can afford to stand up to surveillance as the norm depends on your personal views and financial situation.
- mannykannot 5y agoUnless you could substitute a realistic facsimilie of yourself answering the question, you would probably simply be treated as if you had declined to take the test, or be suspected of attempting to cheat. No-one who uses Hackerrank is going to spend any time trying to figure out whether they should consider you as a viable candidate, they will just move on to the next.
- matheusmoreira 5y ago> Unless you could substitute a realistic facsimilie of yourself answering the question Sounds great. Maybe some harmless pre-recorded loop. Whatever it takes to defeat their surveillance. Also I bet someday someone will come up with some AI thing to generate that video feed...
- cesarb 5y agoWhat if you don't have a webcam? Most desktop computers don't come with a webcam. If you were warned in advance, you could buy or borrow one, but not if it came as a surprise.
- throwaway890112 5y agoThey don't allow you to take the test without the camera. I had to retake the test someother day for Amzn by borrowing laptop. If I remember right microphone should be turned on too.
- stonecharioteer 5y agoHow about a physical webcam blocker so all you get is a black screen?