beta-tester
Posts: 1376
Joined: Fri Jan 04, 2013 1:57 pm
Location: de_DE

browser User-Agent pushes Apple?

Wed Mar 12, 2014 7:06 am

hello,
is it normal, that the webbrowser of RPi has a signeture of an Apple Macintosh in its "User-Agent"?
i installed a apache2 + php5 webserver on one RPi and connect me with an other RPi to that webserver via standard webbrowser of RPi (startx -> WebBrowser = Midori)

using its "User-Agent" signature, the webserver identifies the browser as:

Code: Select all

User-Agent = Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-us) AppleWebKit/535+ (KHTML, like Gecko) Version/5.0 Safari/535.22+ Midori/0.4
to me it is totally wrong
the Raspberry Pi is not an Apple and not an Intel system :x
and it will also generate a wrong used webbrowser statistic, in case this signature is used to make that kind of statistics - this will push apple and intel even more.
Last edited by beta-tester on Wed Mar 12, 2014 7:12 am, edited 3 times in total.
{ I only give negative feedback }
RPi B (256MB), B (512MB), B+, ZeroW; 2B; 3B, 3B+; 4B (4GB)

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6229
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: browser User-Agent pushes Apple?

Wed Mar 12, 2014 7:10 am

Midori uses a rendering engine called WebKit, which was developed by Apple. The user agent string is perfectly accurate and does contain the fact that you are using Midori.

beta-tester
Posts: 1376
Joined: Fri Jan 04, 2013 1:57 pm
Location: de_DE

Re: browser User-Agent pushes Apple?

Wed Mar 12, 2014 7:13 am

can i change that what is written in the User-Agent in an easy way (without compiling a custom version)?
{ I only give negative feedback }
RPi B (256MB), B (512MB), B+, ZeroW; 2B; 3B, 3B+; 4B (4GB)

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6229
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: browser User-Agent pushes Apple?

Wed Mar 12, 2014 7:23 am

I don't have Midori installed, but most decent browsers allow you to change the user agent string. Check the preferences.

Return to “General discussion”