I decided to create a website that would let people see what browser people use. I used sqlite for a database (and ejs for a template engine). This lets people see what browser someone uses without having to ask, which is helpful when people in a discussion are rarely both awake at the same time.
Can u manually add me to the list? It won’t let me authorize replit for some reason…
Sure. Send whatever you see when you open https://9pfs.repl.co/cgi-bin/user-agent, Replit username, and screen resolution.
Nice! I made something similar a little while ago because I found out you could detect a user’s GPU with JS lol. I love the idea of the public list, very cool Repl.
Make sure you opened it in a new tab, I doubt repl auth works in a webview
I’m planning on adding an API
Repl Auth does work in webview, I added myself without issue from the webview so
Okay. That’s strange
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.96.36.199 Safari/537.36
Although, it’s a little weird because I don’t use Mozilla lol.
@MattDESTROYER A basic API is done, I’ll make it have more features (e.g. only recieving certain fields) once I have time. https://replit-deviceinfo.9pfs.repl.co/api (Just realized I need to enable CORS for that endpoint)
Enabled CORS for
What’s your screen resolution?
1920x1080 most likely
my username is @JayAySeaOhBee14
It’s all the info displayed from
navigator.userAgent. It shows a whole bunch of stuff, much of which is irrelevant. From what I can see, you’re probably using a 64 bit version of Windows 10 and you’re using the latest version of Chrome.
Okay… (Figuring out the sql query for adding you)
~/replit-DeviceInfo$ sqlite3 users.db .schema CREATE TABLE users(username text, id int, image text, user_agent text, screen_width int, screen_height int); CREATE TABLE rickrolls(username text); ~/replit-DeviceInfo$
INSERT INTO users VALUES('JayAySeaOhBee14',16625467,'https://storage.googleapis.com/replit/images/1676731205635_a49a67309cbccd51c96d97aa0f67091d.png','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/188.8.131.52 Safari/537.36',1920,1080);
Does that look right?
I’m still on Chrome 108
Also, if I realized it would take that much work for you to add me in, I probably wouldn’t have asked