How to change the User Agent in Gnome Web (epiphany)

6,102

It is possible using dconf, the key is org.gnome.Epiphany user-agent

The default is empty, so this is probably why you see no UA string set there.

You can also try gsettings set org.gnome.Epiphany user-agent "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2049.0 Safari/537.36" by command line, should do the trick.

Update December 2021

It would appear as if the user-agent option has been moved under the web folder and that would change the command to be gsettings set org.gnome.Epiphany.web:/org/gnome/epiphany/web/ user-agent "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2049.0 Safari/537.36".

Share:
6,102

Related videos on Youtube

Ricardo Moreira
Author by

Ricardo Moreira

Updated on September 18, 2022

Comments

  • Ricardo Moreira
    Ricardo Moreira almost 2 years

    I was trying to change the user agent in Gnome Web 3.12 but I can't find any good tutorial on how to do his. I want to set it to the Google Chrome's UA, so it isn't detected as "Safari on Linux", and some pages load like in Chrome (google.com for example).

    Some sites say it's through dconf but there's no /apps/empathy key.

    The branding.conf file says USER AGENT in the header but there's no UA string set.

    Any help would be appreciated. Thanks.

  • Elder Geek
    Elder Geek about 10 years
    another way is through gconf: /apps/epiphany/general/user_agent. Source:mail.gnome.org/archives/epiphany-list/2011-May/msg000‌​10.html
  • Ricardo Moreira
    Ricardo Moreira almost 10 years
    Thanks :) I found out how to do it in dconf going to org > gnome > epiphany > user-agent. Did the same as that command through the GUI. Just forgot to answer the question and mark it as solved then. Doing it now. Thanks again :D