Forum > Other
Browser User Agent & Friends Info: I Can Use Your Help (Volunteers Anyone?)
Aruna:
After watching a recent back-and-forth on the forum about trying to unsuccessfully identify a user's browser and screen size so we can help them but not being able to do so because the user is unwilling to do so. I decided to put together something they can simply click and we have what we need to help. Hopefully will also make them realize it can benefit them and help resolve the issue and that it is quite safe.
So, I put together a small html+php module that grabs the user information from the browser being used and saves it in a database.
I would be extremely grateful if whoever is reading this is willing to SHARE YOUR USER-AGENT INFO.
The information I am gathering is the browser(user agent), screen width, screen height, viewport width, viewport height, ip address and timestamp.I have attached a zip file containing the source files for you to review before proceeding.
If you have questions please do ask.
EDIT: Attached screenshot will ease your minds. That is my Firefox, Cellphone and Google Chrome :-)
Thaddy:
I just polluted your database 8-)
Not on purpose, but I forgot to set the user agent back to normal after I yesterday showed how to spoof it through the browser settings.. :(
So now you have a user that "uses" IE4 and a context that does no longer make sense...
dbannon:
Worked for me.
--- Quote from: Thaddy on September 10, 2024, 06:13:41 am ---.... IE4 and a context that does no longer make sense...
--- End quote ---
Using IE4 never made sense.
Davo
MarkMLl:
This led to my having a play with the "User Agent Switcher & Manager" extension on my "running silent" browser. I can report that it still works, but your test page required Javascript to extract that: my recollection is that that's not necessary since it's communicated in the HTTP headers
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent
I can't immediately take this one much further since I'd need to set up an HTTP proxy for a lump of software that's now VMed (hence unavailable to my desktop browser), but it would be interesting to explore whether things like the extension above has an identical effect on the UA string returned by the header and that accessed by Javascript.
MarkMLl
Aruna:
--- Quote from: Thaddy on September 10, 2024, 06:13:41 am ---I just polluted your database 8-)
--- End quote ---
Ah, hell no! My pristine database? As long as you did not go spill any coffee on it we should be good :P
--- Quote from: Thaddy on September 10, 2024, 06:13:41 am ---Not on purpose, but I forgot to set the user agent back to normal after I yesterday showed how to spoof it through the browser settings.. :(
So now you have a user that "uses" IE4 and a context that does no longer make sense...
--- End quote ---
I will try this spoofing and get back to you 8-)
Navigation
[0] Message Index
[#] Next page