aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-encoding-dialog.c
diff options
context:
space:
mode:
authorVincent Untz <vuntz@gnome.org>2009-12-19 03:32:51 +0800
committerXan Lopez <xan@gnome.org>2009-12-19 03:40:06 +0800
commite896b194fbff39b480c571483c7d549865f38960 (patch)
treece631db5e6d7cb3fb2e57d5448fd7193ad9f095e /src/ephy-encoding-dialog.c
parentdcdebec53b1da88a6b3477d13437af2c53ac73b4 (diff)
downloadgsoc2013-epiphany-e896b194fbff39b480c571483c7d549865f38960.tar
gsoc2013-epiphany-e896b194fbff39b480c571483c7d549865f38960.tar.gz
gsoc2013-epiphany-e896b194fbff39b480c571483c7d549865f38960.tar.bz2
gsoc2013-epiphany-e896b194fbff39b480c571483c7d549865f38960.tar.lz
gsoc2013-epiphany-e896b194fbff39b480c571483c7d549865f38960.tar.xz
gsoc2013-epiphany-e896b194fbff39b480c571483c7d549865f38960.tar.zst
gsoc2013-epiphany-e896b194fbff39b480c571483c7d549865f38960.zip
Add custom user-agent support
We default to the WebKitGTK+ user agent with Epiphany and the version appended to it. This can be overriden/modified in two ways: - The gconf key /apps/epiphany/general/user_agent has the maximum priority, and if it's set it will be always used. - If the gconf key is not set, vendors can still customize the UA by placing a branding.conf file in the share data directory. One example would be: [User Agent] Vendor=SUSE VendorSub=11.2 VendorComment=2.29.94-1 And the result would be: Mozilla/5.0 (X11; U; Linux i686; fr-fr) AppleWebKit/531.2+ (KHTML, like Gecko) Safari/531.2+ SUSE/11.2 (2.29.94-1) Epiphany/2.29.94 Bug #580903 Signed-off-by: Xan Lopez <xan@gnome.org>
Diffstat (limited to 'src/ephy-encoding-dialog.c')
0 files changed, 0 insertions, 0 deletions