Midori identifies as OS X Safari when set to Automatic. Choose Midori to override it.
MIDORI_IDENT_MIDORI /* Automatic */,
MIDORI_IDENT_GENUINE /* Midori */,
return g_strdup_printf ("Mozilla/5.0 (%s %s) AppleWebKit/%d.%d+ %s",
platform, os, webcore_major, webcore_minor, appname);
g_object_set (web_settings, "enable-site-specific-quirks", TRUE, NULL);
return g_strdup_printf ("Mozilla/5.0 (Macintosh; U; Intel Mac OS X; %s) "
"AppleWebKit/%d+ (KHTML, like Gecko) Version/5.0 Safari/%d.%d+ %s",
lang, webcore_major, webcore_major, webcore_minor, appname);
While I don't know the reason the developers chose to mostly pretend to be Safari, this blog post of the history of the user agent string from two years ago is filled with earlier examples of adjusting user agent strings to trick feature detection on web sites. Just one example:
And the followers of Linux were much sorrowed, because they had built Konqueror, whose engine was KHTML, which they thought was as good as Gecko, but it was not Gecko, and so was not given the good pages, and so Konquerer began to pretend to be “like Gecko” to get the good pages, and called itself Mozilla/5.0 (compatible; Konqueror/3.2; FreeBSD) (KHTML, like Gecko) and there was much confusion.
Web developers often tailor web sites to specific browsers, implementing fallbacks for browsers with fewer features.
Midori is too unknown and has too little market share to have web developers optimize specifically for it.
So as a workaround, your browser pretends to be a Safari as it's based on WebKit and behaves alike. Otherwise, it'd probably get the text-only basic design on some sites, instead of the modern HTML5 experience it's capable of.
Since there is no Safari for Linux, and changing from the default user agent strings brings some risk in not getting recognized as a capable browser, they had the choice between Windows and Mac OS X.
Supporting this assumption, from the Midori FAQ (
data/faq.html when you download it):
Why does Google Mail/ Calendar/ Maps, Facebook not work or show mobile version?
Some websites discriminate against your browser.
If you have Midori older than 0.3.5, go to Preferences > Network > Identify As, and choose Custom. Paste this into the entry:
Mozilla/5.0 (X11; Linux) AppleWebKit/531.2+ Midori/0.3
If this doesn't do the trick, try choosing Safari or Firefox.
Many other websites use similar means of detecting the browser.