This is a very urgent project and very easy,takes only an hour
I figured I should have developed it as a Developer Tools Extension like this one [url removed, login to view]
I need help converting it to an extension and also adding a few new features, and bug fixes.
In order to qualify for an interview, please provide a few lines of code that solve this problem (the code would reside inside a chrome add-in):
1. Get the user agent from the request
2. Use a regular expression to extract the Chrome version number
For example: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/[url removed, login to view] (KHTML, like Gecko) Chrome/[url removed, login to view] Safari/[url removed, login to view]"
-> [url removed, login to view]
Also, please solve the simple riddle below. I need to make sure you can think clearly (and actually read the job posts before you apply :).
There is a snake, a mouse, and a piece of cheese in one side of a river. You need to transport them SAFELY, one at a time to the other side.
If left alone, the snake would eat the mouse, and the mouse would eat the cheese.